Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7509

AsyncScheduleThread and ResourceCommitterService are still running after RM is transitioned to standby

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha4, 2.9.1
    • Fix Version/s: 3.0.0, 3.1.0, 2.9.1
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      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.

        Attachments

          Activity

            People

            • Assignee:
              Tao Yang Tao Yang
              Reporter:
              Tao Yang Tao Yang
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: