码迷,mamicode.com
首页 > 其他好文 > 详细

spark 编译遇到的错误及解决办法(二)

时间:2017-01-22 23:33:30      阅读:1245      评论:0      收藏:0      [点我收藏+]

标签:cal   mave   about   library   tool   pos   catalyst   sql   scala   

[INFO] Spark Project Parent POM ........................... SUCCESS [ 17.129 s]
[INFO] Spark Project Tags ................................. SUCCESS [ 29.191 s]
[INFO] Spark Project Sketch ............................... SUCCESS [ 14.014 s]
[INFO] Spark Project Networking ........................... SUCCESS [ 26.398 s]
[INFO] Spark Project Shuffle Streaming Service ............ SUCCESS [ 10.232 s]
[INFO] Spark Project Unsafe ............................... SUCCESS [ 21.923 s]
[INFO] Spark Project Launcher ............................. SUCCESS [ 44.617 s]
[INFO] Spark Project Core ................................. FAILURE [21:05 min]
[INFO] Spark Project GraphX ............................... SKIPPED
[INFO] Spark Project Streaming ............................ SKIPPED
[INFO] Spark Project Catalyst ............................. SKIPPED
[INFO] Spark Project SQL .................................. SKIPPED
[INFO] Spark Project ML Local Library ..................... SKIPPED
[INFO] Spark Project ML Library ........................... SKIPPED
[INFO] Spark Project Tools ................................ SKIPPED
[INFO] Spark Project Hive ................................. SKIPPED
[INFO] Spark Project REPL ................................. SKIPPED
[INFO] Spark Project YARN Shuffle Service ................. SKIPPED
[INFO] Spark Project YARN ................................. SKIPPED
[INFO] Spark Project Assembly ............................. SKIPPED
[INFO] Spark Project External Flume Sink .................. SKIPPED
[INFO] Spark Project External Flume ....................... SKIPPED
[INFO] Spark Project External Flume Assembly .............. SKIPPED
[INFO] Spark Integration for Kafka 0.8 .................... SKIPPED
[INFO] Spark Project Examples ............................. SKIPPED
[INFO] Spark Project External Kafka Assembly .............. SKIPPED
[INFO] Spark Integration for Kafka 0.10 ................... SKIPPED
[INFO] Spark Integration for Kafka 0.10 Assembly .......... SKIPPED
[INFO] Kafka 0.10 Source for Structured Streaming ......... SKIPPED
[INFO] Spark Project Java 8 Tests ......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24:09 min
[INFO] Finished at: 2017-01-20T23:24:49-08:00
[INFO] Final Memory: 49M/194M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.2:testCompile (scala-test-compile-first) on project spark-core_2.11: Execution scala-test-compile-first of goal net.alchim31.maven:scala-maven-plugin:3.2.2:testCompile 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-core_2.11

解决方法:在build前加入代码:

./dev/change-scala-version.sh 2.11

 

spark 编译遇到的错误及解决办法(二)

标签:cal   mave   about   library   tool   pos   catalyst   sql   scala   

原文地址:http://www.cnblogs.com/o-din/p/6341630.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!