viirya commented on a change in pull request #28788:
URL: https://github.com/apache/spark/pull/28788#discussion_r439188335
##########
File path:
resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/config.scala
##########
@@ -74,10 +76,11 @@ package object config {
.doc("Whether to populate Hadoop classpath from
`yarn.application.classpath` and " +
"`mapreduce.application.classpath` Note that if this is set to `false`,
it requires " +
"a `with-Hadoop` Spark distribution that bundles Hadoop runtime or user
has to provide " +
- "a Hadoop installation separately.")
+ "a Hadoop installation separately. By default, for `with-hadoop` Spark
distribution, " +
+ "this is set to `false`; for `no-hadoop` distribution, this is set to
`true`.")
.version("2.4.6")
.booleanConf
- .createWithDefault(true)
+ .createWithDefault(isHadoopProvided())
Review comment:
I also have thought about adding to migration guide. No yarn related
migration guide, so maybe can put in core.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]