You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Tao Yang (JIRA)" <ji...@apache.org> on 2017/11/16 10:14:00 UTC

[jira] [Created] (YARN-7509) AsyncScheduleThread and ResourceCommitterService are still running after RM is transitioned to standby

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: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org