diff options
author | Ali Ghodsi <alig@cs.berkeley.edu> | 2013-12-06 00:43:12 -0800 |
---|---|---|
committer | Ali Ghodsi <alig@cs.berkeley.edu> | 2013-12-06 16:31:26 -0800 |
commit | f2fb4b422863059476816df07ca7ea18f62e3a9d (patch) | |
tree | 670809f99ec2e614962175aa6c4c2be78bf66cf2 /docs/building-with-maven.md | |
parent | 5d460253d6080d871cb71efb112ea17be0873771 (diff) | |
download | spark-f2fb4b422863059476816df07ca7ea18f62e3a9d.tar.gz spark-f2fb4b422863059476816df07ca7ea18f62e3a9d.tar.bz2 spark-f2fb4b422863059476816df07ca7ea18f62e3a9d.zip |
Updated documentation about the YARN v2.2 build process
Diffstat (limited to 'docs/building-with-maven.md')
-rw-r--r-- | docs/building-with-maven.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/building-with-maven.md b/docs/building-with-maven.md index 19c01e179f..a50878630d 100644 --- a/docs/building-with-maven.md +++ b/docs/building-with-maven.md @@ -45,6 +45,10 @@ For Apache Hadoop 2.x, 0.23.x, Cloudera CDH MRv2, and other Hadoop versions with # Cloudera CDH 4.2.0 with MapReduce v2 $ mvn -Phadoop2-yarn -Dhadoop.version=2.0.0-cdh4.2.0 -Dyarn.version=2.0.0-chd4.2.0 -DskipTests clean package +Hadoop versions 2.2.x and newer can be built by setting the ```new-yarn``` and the ```yarn.version``` as follows: + mvn -Dyarn.version=2.2.0 -Dhadoop.version=2.2.0 -Pnew-yarn + +The build process handles Hadoop 2.2.x as a special case that uses the directory ```new-yarn```, which supports the new YARN API. Furthermore, for this version, the build depends on artifacts published by the spark-project to enable Akka 2.0.5 to work with protobuf 2.5. ## Spark Tests in Maven ## |