0
我已下載spark-1.4.1.tgz,解壓縮它。現在
,當我嘗試建立如下,它卡住:Apache Spark:無法構建:[錯誤]服務器訪問錯誤.jetty
$ ./sbt/sbt assembly
Invoking 'build/sbt assembly' now
[info] Loading project definition...
[warn] Multiple resolvers having different access mechanism configured with same name 'sbt-plugin-releases'.
...
[info] Resolving org.eclipse.jetty#jetty-parent;18
[error] Server access Error: Connection reset url=http://download.eclipse.org/jgit/maven/org/eclipse/jetty/jetty-parent/18/jetty-parent-18.jar
[error] Server access Error: Server redirected too many times (20) url=http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/org.eclipse.jetty.orbit/jetty-orbit/1/jars/jetty-orbit.jar
構建卡住在這一點上。我是否缺少任何配置/庫?
手動下載http://download.eclipse.org/jgit/maven/org/eclipse/jetty/jetty-parent/18/jetty-parent-18.jar並將其添加到本地存儲庫,然後重試。讓我知道它是否有效。 – Abdulrahman
我終於下載了'預編譯Hadoop版本'包,而不是'源代碼'包。不需要編譯任何東西。 – Jasper