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

TestNodeStatusUpdater does not handle early failure in threads

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.0
    • Component/s: nodemanager
    • Labels:
      None
    • Hadoop Flags:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: