Spark源码安装出错 scala-maven-plugin:3.2.2:compile failed.
来源:3-3 补录:Spark源码编译中的坑

modata
2017-08-12
Scala版本是2.10,源码编译前执行了./dev/change-scala-verion.sh 2.10命令,同时安装了maven3.5.0,并修改了/dev/make-distribution.sh mvn为$MAVEN_HOME/bin,在执行./dev/make-distribution.sh --name 2.6.0-cdh5.7.0 --tgz -Pyarn -Phadoop-2.6 -Phive -Phive-thriftserver -Dhadoop.version=2.6.0-cdh5.7.0 -X时,之前的编译均通过,只有
[INFO] Spark Project Hive Thrift Server ................... FAILURE [01:05 min]
错误原因是:
[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile (scala-compile-first) on project spark-hive-thriftserver_2.10: Execution scala-compile-first of goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile failed.: CompileFailed -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile (scala-compile-first) on project spark-hive-thriftserver_2.10: Execution scala-compile-first of goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile failed.
在线求解决,求帮助!!!
3回答
-
modata
提问者
2017-08-14
终于自己解决了!》》》》》》》》》》》》》》》》》》》
212017-10-22 -
modata
提问者
2017-08-12
第一次出现错误的地方: /home/hadoop/source/spark-2.1.0/sql/hive-thriftserver/src/main/java/org/apache/hive/service/cli/thrift/ThriftCLIService.java:64: error: package org.eclipse.jetty.server does not exist
00 -
Michael_PK
2017-08-12
你jps下,把多余的进程kill掉
012017-08-12
相似问题