从源代码构建的 Apache-Zeppelin 0.7 在 zeppelin-server 上失败
Apache-Zeppelin 0.7 build from source failed at zeppelin-server
在 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 时的构建错误告诉我:
[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:抱歉我的英语不好
我在这里看到类似的问题: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
您能否尝试 运行 在 zeppelin home
而不是 zeppelin-server
目录中执行以下命令?
mvn package -DskipTests -Dfile=zeppelin-zengine-0.7.0-SNAPSHOT.jar
在 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 时的构建错误告诉我:
[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:抱歉我的英语不好
我在这里看到类似的问题: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
您能否尝试 运行 在 zeppelin home
而不是 zeppelin-server
目录中执行以下命令?
mvn package -DskipTests -Dfile=zeppelin-zengine-0.7.0-SNAPSHOT.jar