我在一个在Ubuntu 14.04下运行的Docker容器中安装Apache Zeppelin 0.7.0时遇到了一个奇怪的错误。本地模式有一个Spark。
我使用此命令构建Zeppelin(以root身份):
mvn clean package -U -X -DskipTests -Pspark-2.0 -Dspark.version=2.0.2 -Phadoop-2.7 -Pyarn -Ppyspark -Psparkr -Pr -Pscala-2.11
到达zeppelin-server时的构建Bug告诉我:
[WARNING] The POM for org.apache.zeppelin:zeppelin-zengine:jar:0.7.0-SNAPSHOT is missing, no dependency information available
导致以下警告:
[WARNING] The requested profile "spark-2.0" could not be activated because it does not exist.
[WARNING] The requested profile "hadoop-2.7" could not be activated because it does not exist.
[WARNING] The requested profile "yarn" could not be activated because it does not exist.
[WARNING] The requested profile "pyspark" could not be activated because it does not exist.
[WARNING] The requested profile "sparkr" could not be activated because it does not exist.
最终出现此错误:
[ERROR] Failed to execute goal on project zeppelin-server: Could not resolve dependencies for project org.apache.zeppelin:zeppelin-server:jar:0.7.0-SNAPSHOT: Could not find artifact org.apache.zeppelin:zeppelin-zengine:jar:0.7.0-SNAPSHOT in apache.snapshots (http://repository.apache.org/snapshots) -> [Help 1]
先谢谢你帮我解决这个问题。
PS:抱歉我的英文不好
答案 0 :(得分:1)
我在这里看到类似的问题:http://apache-zeppelin-users-incubating-mailing-list.75479.x6.nabble.com/Writing-New-Interpreter-td2742.html
如果以下问题解决问题,您可以尝试:
mvn package -Dfile=zeppelin-zengine-0.7.0-SNAPSHOT.jar
答案 1 :(得分:1)
您是否可以尝试在zeppelin home
目录中的zeppelin-server
中运行以下命令?
mvn package -DskipTests -Dfile=zeppelin-zengine-0.7.0-SNAPSHOT.jar