Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/3787#discussion_r22249140
--- Diff: docs/building-spark.md ---
@@ -60,20 +60,29 @@ mvn -Dhadoop.version=2.0.0-mr1-cdh4.2.0 -DskipTests
clean package
mvn -Phadoop-0.23 -Dhadoop.version=0.23.7 -DskipTests clean package
{% endhighlight %}
-For Apache Hadoop 2.x, 0.23.x, Cloudera CDH, and other Hadoop versions
with YARN, you can enable the "yarn" profile and optionally set the
"yarn.version" property if it is different from "hadoop.version". As of Spark
1.3, Spark only supports YARN versions 2.2.0 and later.
+For Apache Hadoop 2.2.0 and later and Cloudera CDH 5 with YARN, you can
enable the "yarn" profile and optionally set the "yarn.version" property if it
is different from "hadoop.version". As of Spark 1.3, Spark only supports YARN
versions 2.2.0 and later.
Examples:
{% highlight bash %}
# Apache Hadoop 2.2.X
-mvn -Pyarn -Phadoop-2.2 -Dhadoop.version=2.2.0 -DskipTests clean package
+mvn -Pyarn -Phadoop-2.2 -Dhadoop.version=2.2.X -DskipTests clean package
--- End diff --
This is wrong since "2.2.X" is not a version. This is intended to be an
executable example.
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]