Github user dongjoon-hyun commented on a diff in the pull request: https://github.com/apache/spark/pull/16810#discussion_r99519864 --- Diff: docs/building-spark.md --- @@ -63,57 +63,30 @@ with Maven profile settings and so on like the direct Maven build. Example: This will build Spark distribution along with Python pip and R packages. For more information on usage, run `./dev/make-distribution.sh --help` -## Specifying the Hadoop Version - -Because HDFS is not protocol-compatible across versions, if you want to read from HDFS, you'll need to build Spark against the specific HDFS version in your environment. You can do this through the `hadoop.version` property. If unset, Spark will build against Hadoop 2.2.0 by default. Note that certain build profiles are required for particular Hadoop versions: - -<table class="table"> - <thead> - <tr><th>Hadoop version</th><th>Profile required</th></tr> - </thead> - <tbody> - <tr><td>2.2.x</td><td>hadoop-2.2</td></tr> - <tr><td>2.3.x</td><td>hadoop-2.3</td></tr> - <tr><td>2.4.x</td><td>hadoop-2.4</td></tr> - <tr><td>2.6.x</td><td>hadoop-2.6</td></tr> - <tr><td>2.7.x and later 2.x</td><td>hadoop-2.7</td></tr> - </tbody> -</table> - -Note that support for versions of Hadoop before 2.6 are deprecated as of Spark 2.1.0 and may be -removed in Spark 2.2.0. +## Specifying the Hadoop Version and Enabling YARN +You can specify the exact version of Hadoop to compile against through the `hadoop.version` property. +If unset, Spark will build against Hadoop 2.6.0 by default. --- End diff -- `2.6.5 by default`?
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org