tgravescs commented on a change in pull request #25047:
[WIP][SPARK-27371][CORE] Support GPU-aware resources scheduling in Standalone
URL: https://github.com/apache/spark/pull/25047#discussion_r310167108
##########
File path: core/src/main/scala/org/apache/spark/deploy/DeployMessage.scala
##########
@@ -52,7 +54,9 @@ private[deploy] object DeployMessages {
cores: Int,
memory: Int,
workerWebUiUrl: String,
- masterAddress: RpcAddress)
+ masterAddress: RpcAddress,
+ resources: Map[String, ResourceInformation] = Map.empty,
+ pid: Int = 0)
Review comment:
Similar I don't think pid is used anymore. Note I would be hesitant to use 0
as default as well because some kill commands take that as kill all and process
0 on linus is kernel process.
----------------------------------------------------------------
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]