yaooqinn commented on code in PR #43645:
URL: https://github.com/apache/spark/pull/43645#discussion_r1381162154
##########
core/src/main/scala/org/apache/spark/scheduler/local/LocalSchedulerBackend.scala:
##########
@@ -110,7 +110,7 @@ private[spark] class LocalSchedulerBackend(
val totalCores: Int)
extends SchedulerBackend with ExecutorBackend with Logging {
- private val appId = "local-" + System.currentTimeMillis
+ private val appId = sys.props.getOrElse("spark.test.appId", "local-" +
System.currentTimeMillis)
Review Comment:
Is there a particular reason to retrieve this from the system properties
instead of the SparkConf?
--
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]