2016-12-06 60 views
2

当在本地模式下运行在Ubuntu 14.04下的Docker容器中安装Apache Zeppelin 0.7.0时,我遇到了一个奇怪的错误。来自源代码的Apache-Zeppelin 0.7构建在zeppelin-server上失败

我建造飞艇使用此命令(作为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 

构建错误达到齐柏林服务器告诉我的时候:

[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:对不起我的英文不好

回答

1

你能尝试运行以下命令中的zeppelin home不在zeppelin-server目录中?

mvn package -DskipTests -Dfile=zeppelin-zengine-0.7.0-SNAPSHOT.jar