Ngone51 commented on a change in pull request #25047: [SPARK-27371][CORE]
Support GPU-aware resources scheduling in Standalone
URL: https://github.com/apache/spark/pull/25047#discussion_r312094305
##########
File path: core/src/main/scala/org/apache/spark/resource/ResourceUtils.scala
##########
@@ -48,21 +48,21 @@ private[spark] case class ResourceRequest(
discoveryScript: Option[String],
vendor: Option[String])
-private[spark] case class TaskResourceRequirement(resourceName: String,
amount: Int)
+private[spark] case class ResourceRequirement(resourceName: String, amount:
Int)
/**
* Case class representing allocated resource addresses for a specific
resource.
* Cluster manager uses the JSON serialization of this case class to pass
allocated resource info to
* driver and executors. See the ``--resourcesFile`` option there.
*/
-private[spark] case class ResourceAllocation(id: ResourceID, addresses:
Seq[String]) {
+@Evolving
+case class ResourceAllocation(id: ResourceID, addresses: Seq[String]) {
Review comment:
never mind.
----------------------------------------------------------------
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]