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_r301193899
##########
File path:
core/src/main/scala/org/apache/spark/deploy/master/ExecutorDesc.scala
##########
@@ -27,6 +27,9 @@ private[master] class ExecutorDesc(
val memory: Int) {
var state = ExecutorState.LAUNCHING
+ // resources(e.f. gpu/fpga) allocated to this driver
+ // map from resource name to its addresses
+ private var _resources: Map[String, Seq[String]] = _
Review comment:
should use something like
ResourceAllocation/ResourceInformation/ExecutorResourceInfo instead of
Seq[String], depending on how its used later
----------------------------------------------------------------
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]