Zeppelin with spark 1.5.2 on mapr - 依赖失败

Zeppelin with spark 1.5.2 on mapr - failed dependency

我正在尝试在 Mapr5 (spark 1.5.2 hadoop 2.7.0) 上安装 Apache Zeppelin。我按照此页面的说明进行操作 https://github.com/apache/incubator-zeppelin

当我使用以下命令时

mvn -Pmapr50 -Pyarn -Pbuild-distr -Pspark-1.5 -Dspark.version=1.5.2 -Phadoop-2.6 -Dhadoop.version=2.7.0 -Ppyspark package -DskipTests -B

我收到以下错误,

[ERROR] Failed to execute goal on project zeppelin-spark-dependencies: Could not resolve dependencies for project org.apache.zeppelin:zeppelin-spark-dependencies:jar:0.5.6-incubating: Failed to collect dependencies at org.apache.spark:spark-repl_2.10:jar:1.5.2 -> org.apache.spark:spark-core_2.10:jar:1.5.2 -> org.apache.hadoop:hadoop-client:jar:2.7.0-mapr-1509 -> org.apache.hadoop:hadoop-common:jar:2.7.0-mapr-1509 -> com.mapr.hadoop:maprfs:jar:5.0.9-mapr: Failed to read artifact descriptor for com.mapr.hadoop:maprfs:jar:5.0.9-mapr: Could not transfer artifact com.mapr:mapr-root:pom:2.0-SNAPSHOT from/to apache.snapshots.https (${env.MAPR_MAVEN_REPO}): Cannot access ${env.MAPR_MAVEN_REPO} with type default using the available connector factories: BasicRepositoryConnectorFactory: Cannot access ${env.MAPR_MAVEN_REPO} using the registered transporter factories: WagonTransporterFactory: Unsupported transport protocol -> [Help 1]

无论 Zeppelin 版本如何,我都会收到与上述相同的错误。但是当我在 mvn 命令中使用 spark 版本 1.4 时,我没有得到这个错误。有人可以帮我摆脱它吗?

我遇到了同样的问题,但是通过设置以下环境变量解决了。

export MAPR_MAVEN_REPO=http://repository.mapr.com/maven