tgravescs commented on a change in pull request #24841: [SPARK-27369][CORE]
Setup resources when Standalone Worker starts up
URL: https://github.com/apache/spark/pull/24841#discussion_r292922457
##########
File path:
core/src/main/scala/org/apache/spark/deploy/worker/WorkerArguments.scala
##########
@@ -36,6 +36,8 @@ private[worker] class WorkerArguments(args: Array[String],
conf: SparkConf) {
var memory = inferDefaultMemory()
var masters: Array[String] = null
var workDir: String = null
+ var resourceFile: Option[String] = None
+ var resourceDiscoveryScript: Map[String, String] = Map()
Review comment:
= Map.empty might be more clear that this is immutable.
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]