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

Unnecessary wait in Node Status Updater during reboot

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • None
    • Reviewed

    Description

      The startStatusUpdater thread waits for the isStopped variable to be set to true, but it is waiting for the next heartbeat. During a reboot, the next heartbeat will not come and so the thread waits for a timeout. Instead, we should notify the thread to continue so that it can check the isStopped variable and exit without having to wait for a timeout.

      Attachments

        1. YARN-4756.005.patch
          5 kB
          Eric Badger
        2. YARN-4756.004.patch
          6 kB
          Eric Badger
        3. YARN-4756.003.patch
          5 kB
          Eric Badger
        4. YARN-4756.002.patch
          5 kB
          Eric Badger
        5. YARN-4756.001.patch
          5 kB
          Eric Badger

        Activity

          People

            ebadger Eric Badger
            ebadger Eric Badger
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: