Tao Yang created YARN-7509:
------------------------------

             Summary: AsyncScheduleThread and ResourceCommitterService are 
still running after RM is transitioned to standby
                 Key: YARN-7509
                 URL: https://issues.apache.org/jira/browse/YARN-7509
             Project: Hadoop YARN
          Issue Type: Bug
    Affects Versions: 3.0.0-alpha4, 2.9.1
            Reporter: Tao Yang


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to