Apache Zeppelin 不适用于 maven repo 的 https [英] Apache Zeppelin not working with https for maven repo

查看:35
本文介绍了Apache Zeppelin 不适用于 maven repo 的 https的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Amazon EMR 中运行 Apache Zeppelin 0.8.0.最近,spark 解释器开始无法下拉库依赖项.这是因为 zeppelin.interpreter.dep.mvnRepo 配置参数设置为 http://repo1.maven.org/maven2/ 和 maven repo 最近停止支持 http,如下所述:https://support.sonatype.com/hc/en-us/articles/360041287334

I'm running Apache Zeppelin 0.8.0 in Amazon EMR. Recently the spark interpreter started to fail to pull down library dependencies. This was because the zeppelin.interpreter.dep.mvnRepo configuration parameter was set to http://repo1.maven.org/maven2/ and the maven repo has recently stopped supporting http as outlined here: https://support.sonatype.com/hc/en-us/articles/360041287334

根据 maven 文档,我将此参数的值更新为 https://repo1.maven.org/maven2/ 但这并没有解决问题.而是将值更新为 http://insecure.repo1.maven.org/maven2/ 已修复问题.

As per the maven documentation I updated the value of this parameter to https://repo1.maven.org/maven2/ but this didn't resolve the issue. Instead updating the value to http://insecure.repo1.maven.org/maven2/ fixed the problem.

似乎 Zeppelin 没有为 Maven 存储库使用 https.任何人都可以确认是这种情况还是需要一些额外的设置才能使其正常工作?

It seems like Zeppelin is not working with https for the maven repo. Can anyone confirm if this is the case or is some extra set up required to get this working?

推荐答案

当 zeppelin.interpreter.dep.mvnRepo 设置为 http://repo1.maven.org/maven2/ 就像你提到的,但对我来说它适用于 zeppelin.interpreter.dep.mvnRepo 设置为https://repo1.maven.org/maven2/ 仅当我设置了 spark.jars 时.将 Zeppelin 解释器 GUI 中的属性打包到 groupId:artificaftId:version 我试图拉出的库.

I was having issues pulling down library dependencies on Zeppelin 0.8.2 with zeppelin.interpreter.dep.mvnRepo set to http://repo1.maven.org/maven2/ like you mentioned, but for me it works with zeppelin.interpreter.dep.mvnRepo set to https://repo1.maven.org/maven2/ only if I set the spark.jars.packages property in the Zeppelin interpreter GUI to the groupId:artificaftId:version for the library I was trying to pull.

这篇关于Apache Zeppelin 不适用于 maven repo 的 https的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆