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

TestNodeStatusUpdater does not handle early failure in threads

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.4.0
    • nodemanager
    • None
    • Reviewed

    Description

      While investigating HADOOP-17314, I found that the

      • TestNodeStatusUpdater#testNMRegistration() will continue running while (heartBeatID <= 3 && waitCount++ != 200) { even though the nm thread could already be dead. the unit should detect that the nm has died and terminates sooner to release resources for other tests.
      • TestNodeStatusUpdater#testNMRMConnectionConf(). Same problem as described above.

      Attachments

        Issue Links

          Activity

            People

              ahussein Ahmed Hussein
              ahussein Ahmed Hussein
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: