tgravescs commented on code in PR #43366:
URL: https://github.com/apache/spark/pull/43366#discussion_r1362217264


##########
core/src/main/scala/org/apache/spark/scheduler/TaskSchedulerImpl.scala:
##########
@@ -624,7 +627,13 @@ private[spark] class TaskSchedulerImpl(
         }
 
         if (!launchedAnyTask) {
-          taskSet.getCompletelyExcludedTaskIfAny(hostToExecutors).foreach { 
taskIndex =>
+
+          val hostToExecutorsForTaskSet = hostToExecutors.map { case (host, 
execsOnHost) =>

Review Comment:
   that's a good point, we care about time here more.  I think you can get rid 
of the executorIdToResourceProfileId in that case to so space won't be as bad.  



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to