构建Zeppelin时出现错误
问题描述:
我使用mvn clean package -U -DskipTests
从git clone https://github.com/apache/incubator-zeppelin
构建Zeppelin。但控制台给了我以下错误信息< Failed to execute goal on project zeppelin-phoenix: Could not resolve dependencies for project org.apache.zeppelin:zeppelin-phoenix:jar:0.6.0-incubating-SNAPSHOT: Could not find artifact sqlline:sqlline:jar:1.1.8 in public (http://maven.dev.sh.ctripcorp.com:8081/nexus/content/repositories/public) -> [Help 1]
>,我想弄清楚如何解决。但它似乎没用。任何人都可以帮助我并解决它吗?构建Zeppelin时出现错误
[INFO] Zeppelin ........................................... SUCCESS [ 3.383 s]
[INFO] Zeppelin: Interpreter .............................. SUCCESS [ 3.688 s]
[INFO] Zeppelin: Zengine .................................. SUCCESS [ 2.334 s]
[INFO] Zeppelin: Spark dependencies ....................... SUCCESS [ 21.198 s]
[INFO] Zeppelin: Spark .................................... SUCCESS [ 5.601 s]
[INFO] Zeppelin: Markdown interpreter ..................... SUCCESS [ 0.243 s]
[INFO] Zeppelin: Angular interpreter ...................... SUCCESS [ 0.169 s]
[INFO] Zeppelin: Shell interpreter ........................ SUCCESS [ 0.160 s]
[INFO] Zeppelin: Hive interpreter ......................... SUCCESS [ 1.103 s]
[INFO] Zeppelin: Apache Phoenix Interpreter ............... FAILURE [ 0.154 s]
[INFO] Zeppelin: PostgreSQL interpreter ................... SKIPPED
[INFO] Zeppelin: Tajo interpreter ......................... SKIPPED
[INFO] Zeppelin: Flink .................................... SKIPPED
[INFO] Zeppelin: Apache Ignite interpreter ................ SKIPPED
[INFO] Zeppelin: Kylin interpreter ........................ SKIPPED
[INFO] Zeppelin: Lens interpreter ......................... SKIPPED
[INFO] Zeppelin: Cassandra ................................ SKIPPED
[INFO] Zeppelin: Elasticsearch interpreter ................ SKIPPED
[INFO] Zeppelin: web Application .......................... SKIPPED
[INFO] Zeppelin: Server ................................... SKIPPED
[INFO] Zeppelin: Packaging distribution ................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 38.552 s
[INFO] Finished at: 2016-01-13T18:23:47+08:00
[INFO] Final Memory: 54M/807M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project zeppelin-phoenix: Could not resolve dependencies for project org.apache.zeppelin:zeppelin-phoenix:jar:0.6.0-incubating-SNAPSHOT: Could not find artifact sqlline:sqlline:jar:1.1.8 in public (http://maven.dev.sh.ctripcorp.com:8081/nexus/content/repositories/public) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
答
sqlline:sqlline:jar:1.1.8由conjar repo提供,因此如果您限制连接互联网,您可能还必须将conjar镜像到内部infra。
sqlline:sqlline:jar:1.1.9由maven回购提供,因此您也可以排除它并手动添加依赖项sqlline:sqlline:1.1.9。
答
那么,当有Zeppelin问题时,我总是建议坚持使用氦气。不要尝试氢气。
不,这对我来说不是个好主意。 –