spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liu, Raymond" <>
Subject RE: compiling against hadoop 2.2
Date Fri, 03 Jan 2014 06:08:57 GMT
I think you also need to set yarn.version

Say something like 

mvn -Pyarn -Dhadoop.version=2.2.0 -Dyarn.version=2.2.0 -DskipTests clean package

hadoop.version is default to 2.2.0 while yarn.version not when you chose the new-yarn profile.
We probably need to fix it later for easy usage.

Best Regards,
Raymond Liu

-----Original Message-----
From: Ted Yu [] 
Sent: Friday, January 03, 2014 1:07 PM
Subject: compiling against hadoop 2.2

I used the following command to compile against hadoop 2.2:
mvn clean package -DskipTests -Pnew-yarn

But I got a lot of compilation errors.

Did I use the wrong command ?


View raw message