请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

Spark编译问题

图片描述
spark我自己编译的时候一直卡在这里不动,请问是什么原因?

正在回答 回答被采纳积分+3

1回答

Michael_PK 2019-06-25 00:19:25

检查机器的scala等等的版本信息,这一步可能时间挺长的

0 回复 有任何疑惑可以回复我~
  • 提问者 qq_小胖_0 #1
    可以跑了,但是跑了差不多1个小时左右,就报了这个错
    INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 4.016 s (Wall Clock)
    [INFO] Finished at: 2019-06-25T08:21:12+08:00
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile (scala-compile-first) on project spark-tags_2.11: Execution scala-compile-first of goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile failed.: CompileFailed -> [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/PluginExecutionException
    [ERROR] 
    [ERROR] After correcting the problems, you can resume the build with the command
    [ERROR]   mvn <goals> -rf :spark-tags_2.11
    回复 有任何疑惑可以回复我~ 2019-06-25 00:24:22
  • Michael_PK 回复 提问者 qq_小胖_0 #2
    maven问题通常都是网络不行导致。你那个慢的地方应该可以手工修改dev目录下的make dis。。。。那个文件,里面有对应的scala,spark版本,你直接写死,就不会再去检测了
    回复 有任何疑惑可以回复我~ 2019-06-25 02:30:33
  • 提问者 qq_小胖_0 回复 Michael_PK #3
    Cannot run program "javac": error=2, No such file or directory,我已经在bash_profile配置了java的路径,可是为什么这里还是会报这个错误?
    回复 有任何疑惑可以回复我~ 2019-06-25 20:49:37
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号