Hi, Have tried tried building it successfully without hadoop?
$build/mnv -DskiptTests clean package Can you check it build/mvn was started successfully, or it's using your own mvn? Let us know your jdk version as well. On Thu, Oct 29, 2015 at 11:34 PM, Raghuveer Chanda < raghuveer.cha...@gmail.com> wrote: > Hi, > > I am trying to build spark 1.5.1 for hadoop 2.5 but I get the following > error. > > > *build/mvn -Pyarn -Phadoop-2.4 -Dhadoop.version=2.5.0-cdh5.3.2 -DskipTests > clean package* > > > [INFO] Spark Project Parent POM ........................... SUCCESS [ > 9.812 s] > [INFO] Spark Project Launcher ............................. SUCCESS [ > 27.701 s] > [INFO] Spark Project Networking ........................... SUCCESS [ > 16.721 s] > [INFO] Spark Project Shuffle Streaming Service ............ SUCCESS [ > 8.617 s] > [INFO] Spark Project Unsafe ............................... SUCCESS [ > 27.124 s] > [INFO] Spark Project Core ................................. FAILURE [09:08 > min] > > Failed to execute goal > net.alchim31.maven:scala-maven-plugin:3.2.2:testCompile > (scala-test-compile-first) on project spark-core_2.10: Execution > scala-test-compile-first of goal > net.alchim31.maven:scala-maven-plugin:3.2.2:testCompile failed. > CompileFailed -> [Help 1] > > > > -- > Regards, > Raghuveer Chanda > > -- Jia Zhan