diff options
author | Patrick Wendell <pwendell@gmail.com> | 2013-09-15 13:02:53 -0700 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2013-09-15 13:02:53 -0700 |
commit | 9fb0b9d77fd383ad2cdd600edcc77c7b43c5e1c2 (patch) | |
tree | 714ce18b8540890d828e36632048d36196384864 /docs | |
parent | c4c1db2dd5b2ec0a8182369ecdb0e14f4e199822 (diff) | |
parent | 362ea0c0517ca0caaf5d3c12f8187198be59ca37 (diff) | |
download | spark-9fb0b9d77fd383ad2cdd600edcc77c7b43c5e1c2.tar.gz spark-9fb0b9d77fd383ad2cdd600edcc77c7b43c5e1c2.tar.bz2 spark-9fb0b9d77fd383ad2cdd600edcc77c7b43c5e1c2.zip |
Merge pull request #931 from pwendell/yarn-docs
Explain yarn.version in Maven build docs
Diffstat (limited to 'docs')
-rw-r--r-- | docs/building-with-maven.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/building-with-maven.md b/docs/building-with-maven.md index 7ecb601ddd..3065427a39 100644 --- a/docs/building-with-maven.md +++ b/docs/building-with-maven.md @@ -37,13 +37,13 @@ For Apache Hadoop versions 1.x, Cloudera CDH MRv1, and other Hadoop versions wit # Cloudera CDH 4.2.0 with MapReduce v1 $ mvn -Dhadoop.version=2.0.0-mr1-cdh4.2.0 -DskipTests clean package -For Apache Hadoop 2.x, 0.23.x, Cloudera CDH MRv2, and other Hadoop versions with YARN, you should also enable the "hadoop2-yarn" profile: +For Apache Hadoop 2.x, 0.23.x, Cloudera CDH MRv2, and other Hadoop versions with YARN, you should enable the "hadoop2-yarn" profile and set the "yarn.version" property: # Apache Hadoop 2.0.5-alpha - $ mvn -Phadoop2-yarn -Dhadoop.version=2.0.5-alpha -DskipTests clean package + $ mvn -Phadoop2-yarn -Dhadoop.version=2.0.5-alpha -Pyarn.version=2.0.5-alpha -DskipTests clean package # Cloudera CDH 4.2.0 with MapReduce v2 - $ mvn -Phadoop2-yarn -Dhadoop.version=2.0.0-cdh4.2.0 -DskipTests clean package + $ mvn -Phadoop2-yarn -Dhadoop.version=2.0.0-cdh4.2.0 -Pyarn.version=2.0.0-chd4.2.0 -DskipTests clean package ## Spark Tests in Maven ## |