ueshin commented on a change in pull request #29278:
URL: https://github.com/apache/spark/pull/29278#discussion_r461991717
##########
File path: core/src/main/scala/org/apache/spark/internal/config/package.scala
##########
@@ -1908,4 +1908,11 @@ package object config {
.version("3.1.0")
.booleanConf
.createWithDefault(false)
+
+ private[spark] val ALLOW_SPARK_CONTEXT_IN_EXECUTORS =
+ ConfigBuilder("spark.driver.allowSparkContextInExecutors")
+ .doc("If set to true, SparkContext can be created in executors.")
+ .version("3.0.1")
Review comment:
I'll submit another PR with the opposite default value against
`branch-3.0`.
##########
File path: core/src/main/scala/org/apache/spark/internal/config/package.scala
##########
@@ -1908,4 +1908,11 @@ package object config {
.version("3.1.0")
.booleanConf
.createWithDefault(false)
+
+ private[spark] val ALLOW_SPARK_CONTEXT_IN_EXECUTORS =
+ ConfigBuilder("spark.driver.allowSparkContextInExecutors")
+ .doc("If set to true, SparkContext can be created in executors.")
+ .version("3.0.1")
Review comment:
I'll submit another PR with the opposite default value against
`branch-3.0` when this is good to go.
##########
File path: core/src/main/scala/org/apache/spark/internal/config/package.scala
##########
@@ -1908,4 +1908,11 @@ package object config {
.version("3.1.0")
.booleanConf
.createWithDefault(false)
+
+ private[spark] val ALLOW_SPARK_CONTEXT_IN_EXECUTORS =
+ ConfigBuilder("spark.driver.allowSparkContextInExecutors")
+ .doc("If set to true, SparkContext can be created in executors.")
+ .version("3.0.1")
Review comment:
Also I'll add a migration guide later.
----------------------------------------------------------------
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]