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

BaseContainerManagerTest::waitForNMContainerState timeout accounting is not accurate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-beta1
    • None
    • Reviewed

    Description

      See below that timeoutSecs is increased twice. We also do a sleep right away before even checking the observed value.

          do {
            Thread.sleep(2000);
       ...
            timeoutSecs += 2;
          } while (!finalStates.contains(currentState)
              && timeoutSecs++ < timeOutMax);
      

      Attachments

        1. YARN-5927.03.patch
          2 kB
          Kai
        2. YARN-5917.02.patch
          3 kB
          Kai
        3. YARN-5917.01.patch
          2 kB
          Kai

        Activity

          People

            lewuathe Kai
            miklos.szegedi@cloudera.com Miklos Szegedi
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: