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

BaseContainerManagerTest::waitForNMContainerState timeout accounting is not accurate

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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-5917.01.patch
          2 kB
          Kai
        2. YARN-5917.02.patch
          3 kB
          Kai
        3. YARN-5927.03.patch
          2 kB
          Kai

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Issue deployment