wbo4958 commented on code in PR #43494: URL: https://github.com/apache/spark/pull/43494#discussion_r1378499848
########## core/src/main/scala/org/apache/spark/scheduler/TaskSetManager.scala: ########## @@ -513,7 +515,8 @@ private[spark] class TaskSetManager( speculative: Boolean, taskCpus: Int, taskResourceAssignments: Map[String, ResourceInformation], - launchTime: Long): TaskDescription = { + launchTime: Long, + resourcesAmounts: Map[String, Map[String, Double]]): TaskDescription = { Review Comment: I think we can remove taskResourceAssignments and re-construct it according to resourcesAmounts. But I'd like to keep this PR minimum change, and fix them in the follow up -- 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. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org