tgravescs commented on a change in pull request #24374: [SPARK-27366][CORE] 
Support GPU Resources in Spark job scheduling
URL: https://github.com/apache/spark/pull/24374#discussion_r289440885
 
 

 ##########
 File path: core/src/main/scala/org/apache/spark/TaskContext.scala
 ##########
 @@ -176,6 +176,13 @@ abstract class TaskContext extends Serializable {
    */
   def getLocalProperty(key: String): String
 
+  /**
+   * Resources allocated to the task. A task may retrieve the resource name 
and available resource
 
 Review comment:
   perhaps we just say the key is the resource name and and value is 
information about the resource.  That way if resource information changes to 
have more then addresses we don't need to update this comment. User can see 
ResourceInformation for specifics

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