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_r301186354
##########
File path: core/src/main/scala/org/apache/spark/deploy/DeployMessage.scala
##########
@@ -72,8 +75,10 @@ private[deploy] object DeployMessages {
exception: Option[Exception])
extends DeployMessage
- case class WorkerSchedulerStateResponse(id: String, executors:
List[ExecutorDescription],
- driverIds: Seq[String])
+ case class WorkerSchedulerStateResponse(
+ id: String,
+ execWithResources: List[(ExecutorDescription, Map[String, Seq[String]])],
Review comment:
use ResourceAllocation here? I realize this has extra component info, but
@mengxr preferred that be passed even when not necessarily needed to keep
things consistent and easier to read.
----------------------------------------------------------------
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]