xwu99 commented on pull request #33941: URL: https://github.com/apache/spark/pull/33941#issuecomment-1021897818
@tgravescs I will add more tests since several places are changed but you can review first and provide feedback. Some updates since our last discussion: - There are two ways to enable reuse executors: 1) use config option "spark.scheduler.reuseCompatibleExecutors" 2) use overloaded interface "withResources" to specify what resources should be considered and what is the reuse policy (check code). The second one can enable a stage-level reuse policy change in case we want more flexibility. We can discuss which one is better and then refine the code. - Cache compatible resource profiles in resource profiler manager when profile added - Added ResourceProfileCompatiblePolicy and interfaces for customization, there are two predefined policies: EQUAL_RESOURCES, MORE_RESOURCES - Barrior mode support with changes in calculateAvailableSlots. - Event logging and json protocol support, WebUI changes, need to polish and add more tests. -- 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]
