gpt4 book ai didi

apache-spark - 在Zeppelin-server上从源代码构建Apache-Zeppelin 0.7失败

转载 作者:行者123 更新时间:2023-12-02 18:23:39 30 4
gpt4 key购买 nike

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

我使用以下命令(以root身份)构建Zeppelin:

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服务器时的构建错误告诉我:
[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

关于apache-spark - 在Zeppelin-server上从源代码构建Apache-Zeppelin 0.7失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40994821/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com