Skip to content

Conversation

@sarutak
Copy link
Member

@sarutak sarutak commented Jul 12, 2014

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

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@rxin
Copy link
Contributor

rxin commented Jul 12, 2014

Thanks. Merging this in master.

@asfgit asfgit closed this in cbff187 Jul 12, 2014
xiliu82 pushed a commit to xiliu82/spark that referenced this pull request Sep 4, 2014
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
@sarutak sarutak deleted the SPARK-2457 branch April 11, 2015 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants