spark1.3编译过程中遇到的一个坑

时间:2022-09-10 20:27:41

在编译spark1.3.0时:

export MAVEN_OPTS="-Xmx2g -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=512m"

mvn clean package -DskipTests -Phadoop-2.4 -Dhadoop.version=2.5.-cdh5.3.1 -Pyarn -Phive-0.13. -Phive-thriftserver

报错:

INFO] Using zinc server for incremental compilation
[INFO] compiler plugin: BasicArtifact(org.scalamacros,paradise_2.10.4,2.0.,null)
[error] Required file not found: sbt-interface.jar
[error] See zinc -help for information about locating necessary files

解决方法:

build/mvn

再次编译即可