You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by rx...@apache.org on 2014/07/12 06:10:29 UTC

git commit: [SPARK-2457] Inconsistent description in README about build option

Repository: spark
Updated Branches:
  refs/heads/master b23e9c3e4 -> cbff18774


[SPARK-2457] Inconsistent description in README about build option

Now, we should use -Pyarn instead of SPARK_YARN when building but README says as follows.

    For Apache Hadoop 2.2.X, 2.1.X, 2.0.X, 0.23.x, Cloudera CDH MRv2, and other Hadoop versions
    with YARN, also set `SPARK_YARN=true`:

      # Apache Hadoop 2.0.5-alpha
      $ sbt/sbt -Dhadoop.version=2.0.5-alpha -Pyarn assembly

      # Cloudera CDH 4.2.0 with MapReduce v2
      $ sbt/sbt -Dhadoop.version=2.0.0-cdh4.2.0 -Pyarn assembly

      # Apache Hadoop 2.2.X and newer
      $ sbt/sbt -Dhadoop.version=2.2.0 -Pyarn assembly

Author: Kousuke Saruta <sa...@oss.nttdata.co.jp>

Closes #1382 from sarutak/SPARK-2457 and squashes the following commits:

e7b2d64 [Kousuke Saruta] Replaced "SPARK_YARN=true" with "-Pyarn" in README


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

Branch: refs/heads/master
Commit: cbff18774b0a2f346901ddf2f566be50561a57c7
Parents: b23e9c3
Author: Kousuke Saruta <sa...@oss.nttdata.co.jp>
Authored: Fri Jul 11 21:10:26 2014 -0700
Committer: Reynold Xin <rx...@apache.org>
Committed: Fri Jul 11 21:10:26 2014 -0700

----------------------------------------------------------------------
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/cbff1877/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 01ef851..f6e7f51 100644
--- a/README.md
+++ b/README.md
@@ -81,7 +81,7 @@ versions without YARN, use:
     $ sbt/sbt -Dhadoop.version=2.0.0-mr1-cdh4.2.0 assembly
 
 For Apache Hadoop 2.2.X, 2.1.X, 2.0.X, 0.23.x, Cloudera CDH MRv2, and other Hadoop versions
-with YARN, also set `SPARK_YARN=true`:
+with YARN, also set `-Pyarn`:
 
     # Apache Hadoop 2.0.5-alpha
     $ sbt/sbt -Dhadoop.version=2.0.5-alpha -Pyarn assembly