spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [42/50] git commit: Explain yarn.version in Maven build docs
Date Fri, 20 Sep 2013 22:07:02 GMT
Explain yarn.version in Maven build docs


Project: http://git-wip-us.apache.org/repos/asf/incubator-spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-spark/commit/362ea0c0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-spark/tree/362ea0c0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-spark/diff/362ea0c0

Branch: refs/heads/master
Commit: 362ea0c0517ca0caaf5d3c12f8187198be59ca37
Parents: e9eba8c
Author: Patrick Wendell <pwendell@gmail.com>
Authored: Sun Sep 15 12:36:58 2013 -0700
Committer: Patrick Wendell <pwendell@gmail.com>
Committed: Sun Sep 15 12:40:49 2013 -0700

----------------------------------------------------------------------
 docs/building-with-maven.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-spark/blob/362ea0c0/docs/building-with-maven.md
----------------------------------------------------------------------
diff --git a/docs/building-with-maven.md b/docs/building-with-maven.md
index 7ecb601..3065427 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 ##


Mime
View raw message