raviston commented on PR #60383:
URL: https://github.com/apache/spark/pull/60383#issuecomment-6849868576

   Thanks for the update, LGTM.
   
   I checked fef6e1c95c1 locally (JDK 21). Each change in `TaskSchedulerImpl` 
is now caught by its own test:
   
   | Reverted change | Test that fails |
   | --- | --- |
   | all of the fix (master) | the two mixed-profile tests and `do not kill an 
idle executor of another resource profile` |
   | only the idle executor search | `do not kill an idle executor of another 
resource profile` |
   | only the cleanup in `removeExecutor` | `a lost executor is not a recovery 
candidate` |
   | `executorRpId` set to `taskRpId` | `recover a task resource profile using 
default executors` |
   
   `TaskSchedulerImplSuite`, `TaskSetManagerSuite`, `TaskSetExcludelistSuite`, 
`HealthTrackerSuite` and `ResourceProfileManagerSuite` pass (240 tests), and 
`core/scalastyle` and `core/Test/scalastyle` report 0 errors.
   
   The `canBeScheduled` comment was optional, and the current code is fine with 
the current rules.
   
   cc @mridulm @tgravescs, who reviewed the earlier attempt in #43366.
   


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