Apache Zeppelin无法与https一起使用以进行Maven回购 [英] Apache Zeppelin not working with https for maven repo

查看:114
本文介绍了Apache Zeppelin无法与https一起使用以进行Maven回购的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Amazon EMR中运行Apache Zeppelin 0.8.0.最近,Spark解释器开始无法下拉库依赖关系.这是因为zeppelin.interpreter.dep.mvnRepo配置参数设置为 http://repo1.maven.org /maven2/,并且maven存储区最近已停止支持http,如下所示:

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设置为 https://repo1.maven.org/maven2/.将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无法与https一起使用以进行Maven回购的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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