spark-2.2.0-rc1 编译

时间:2021-08-12 20:50:45

我们采用mvn编译:Apache Maven 3.3.9

Java version: 1.7.0_79   

执行命令:mvn -Pyarn -Phadoop-2.6 -Dhadoop.version=2.6.0 -Phive -Phive-thriftserver -DskipTests clean package

出现如下异常:Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile (scala-compile-first) on project spark-network-common_2.11: Execution scala-compile-first of goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile failed. CompileFailed -> [Help 1]


spark-2.2.0-rc1 编译spark-2.2.0-rc1 编译


重失败的地方重试:

mvn -Pyarn -Phadoop-2.6 -Dhadoop.version=2.6.0 -Phive -Phive-thriftserver -DskipTests clean package  -rf :spark-network-common_2.11 

spark-2.2.0-rc1 编译


解决办法:请看  spark-2.2.0-rc4 编译