Details
Description
After RM is transitioned to standby, AsyncScheduleThread and ResourceCommitterService will receive interrupt signal. When thread is sleeping, it will ignore the interrupt signal since InterruptedException is catched inside and the interrupt signal is cleared.
For AsyncScheduleThread, InterruptedException was catched and ignored in CapacityScheduler#schedule.
For ResourceCommitterService, InterruptedException was catched inside and ignored in ResourceCommitterService#run.
We should let the interrupt signal out and make these threads exit.