wangyum commented on code in PR #57525:
URL: https://github.com/apache/spark/pull/57525#discussion_r4000060889
##########
core/src/main/scala/org/apache/spark/scheduler/cluster/CoarseGrainedSchedulerBackend.scala:
##########
@@ -149,7 +154,9 @@ class CoarseGrainedSchedulerBackend(scheduler:
TaskSchedulerImpl, val rpcEnv: Rp
// Spark configuration sent to executors. This is a lazy val so that
subclasses of the
// scheduler can modify the SparkConf object before this view is created.
private lazy val sparkProperties = scheduler.sc.conf.getAll
- .filter { case (k, _) => k.startsWith("spark.") }
+ .filter { case (k, _) =>
+ k.startsWith("spark.") && k !=
s"spark.executorEnv.$EXECUTOR_DRIVER_INSTANCE_TOKEN"
Review Comment:
use a new way to make the implement more clear.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]