首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Apache Spark 1.4.1构建失败

Apache Spark 1.4.1构建失败
EN

Stack Overflow用户
提问于 2015-07-29 14:00:39
回答 1查看 539关注 0票数 0

我已经从官方网站下载了Apache Spark 1.4.1。如下所示:

我的机器上没有安装hadoop。Apache提供了build命令。因此,我尝试使用以下命令build/mvn -Pyarn -Phadoop-2.4 -Dhadoop.version=2.4.0 -DskipTests clean package开始构建项目

但生成失败,出现以下错误:

代码语言:javascript
复制
[INFO] Spark Project External Kafka Assembly ............. SKIPPED
[INFO] Spark Project YARN Shuffle Service ................ SKIPPED
[INFO] ---------------------------------------------------------------------   ---
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.840s
[INFO] Finished at: Wed Jul 29 10:43:04 IST 2015
[INFO] Final Memory: 15M/43M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-enforcer-plugin:1.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-enforcer-plugin:jar:1.4: Could not transfer artifact org.apache.maven.plugins:maven-enforcer-plugin:pom:1.4 from/to central (https://repo1.maven.org/maven2): peer not authenticated -> [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.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

我是Apache Spark的新手,请给我建议。

EN

回答 1

Stack Overflow用户

发布于 2015-08-20 18:17:55

因为它是您已经下载的预编译的二进制发行版。您不需要使用maven2再次编译它。只需将其放在path上并直接使用即可。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/31692293

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档