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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.0.0-alpha4, 2.9.1
    • 3.0.0, 3.1.0, 2.9.1
    • None
    • None
    • 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

        1. YARN-7509.001.patch
          10 kB
          Tao Yang

        Activity

          People

            Tao Yang Tao Yang
            Tao Yang Tao Yang
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: