在zeppelin-server上,Apache-Zeppelin 0.7从源代码生成失败

我安装Apache Zeppelin 0.7.0在一个Docker容器中运行在Ubuntu 14.04下,在本地模式下运行Spark时出现了一个奇怪的错误。

我用这个命令build立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 

build立到达飞艇服务器时的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:抱歉我的英文不好

你可以尝试在zeppelin home运行下面的命令,而不是在zeppelin-server目录中吗?

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

我在这里看到类似的问题: 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