Github user pwendell commented on a diff in the pull request:

    https://github.com/apache/spark/pull/601#discussion_r12173948
  
    --- Diff: docs/running-on-yarn.md ---
    @@ -12,12 +12,14 @@ was added to Spark in version 0.6.0, and improved in 
0.7.0 and 0.8.0.
     We need a consolidated Spark JAR (which bundles all the required 
dependencies) to run Spark jobs on a YARN cluster.
     This can be built by setting the Hadoop version and `SPARK_YARN` 
environment variable, as follows:
     
    -    SPARK_HADOOP_VERSION=2.0.5-alpha SPARK_YARN=true sbt/sbt assembly
    +    mvn package -Pyarn -Dyarn.version=2.2.0 -Dhadoop.version=2.2.0 
-DskipTests
     
     The assembled JAR will be something like this:
    
-`./assembly/target/scala-{{site.SCALA_BINARY_VERSION}}/spark-assembly_{{site.SPARK_VERSION}}-hadoop2.0.5.jar`.
    
+`./assembly/target/scala-{{site.SCALA_BINARY_VERSION}}/spark-assembly_{{site.SPARK_VERSION}}-hadoop2.2.0.jar`.
     
    -The build process now also supports new YARN versions (2.2.x). See below.
    +The build process also supports YARN versions older than 2.2.0 (e.g. 
0.23.x).
    +
    +    mvn package -Pyarn-alpha -Dyarn.version=0.23.7 -Dhadoop.version=0.23.7 
-DskipTests
     
     # Preparations
    --- End diff --
    
    It would also be nice to update this section if you have time. Right now it 
says you need to build the examples jar but again, almost all users will just 
download a pre-compiled version of spark that has examples in the `lib/` 
directory.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to