Skip to content

Commit cbff187

Browse files
sarutakrxin
authored andcommitted
[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 <[email protected]> Closes apache#1382 from sarutak/SPARK-2457 and squashes the following commits: e7b2d64 [Kousuke Saruta] Replaced "SPARK_YARN=true" with "-Pyarn" in README
1 parent b23e9c3 commit cbff187

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ versions without YARN, use:
8181
$ sbt/sbt -Dhadoop.version=2.0.0-mr1-cdh4.2.0 assembly
8282

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

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

0 commit comments

Comments
 (0)