zoukankan      html  css  js  c++  java
  • spark 编译遇到的错误及解决办法(二)

    [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
  • 相关阅读:
    Git_学习_05_ 解决冲突
    Git_学习_04_ 多人协作开发的过程
    PostgreSQL与Oracle对应的函数
    Mysql学习_02_mysql数据导入导出
    【SPOJ】1812. Longest Common Substring II(后缀自动机)
    【BZOJ】2555: SubString(后缀自动机)
    【BZOJ】3172: [Tjoi2013]单词(后缀自动机)
    【SPOJ】8222. Substrings(后缀自动机)
    【wikioi】3160 最长公共子串(后缀自动机)
    【BZOJ】1079: [SCOI2008]着色方案(dp+特殊的技巧)
  • 原文地址:https://www.cnblogs.com/o-din/p/6341630.html
Copyright © 2011-2022 走看看