Ngone51 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_r307992521
 
 

 ##########
 File path: core/src/main/scala/org/apache/spark/deploy/DeployMessage.scala
 ##########
 @@ -110,6 +122,16 @@ private[deploy] object DeployMessages {
 
   case class ReconnectWorker(masterUrl: String) extends DeployMessage
 
+  /**
+   * Ask the worker to release the indicated resources in 
ALLOCATED_RESOURCES_JSON_FILE
+   * @param pid process id of the target worker
+   * @param toRelease the resources expected to release
+   */
+  case class ReleaseResources(
 
 Review comment:
   This is for a possible corner case that a worker lost with master but still 
alive. In this case, pid cleaning seems doesn't work, right ?

----------------------------------------------------------------
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]

Reply via email to