You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Miklos Szegedi (JIRA)" <ji...@apache.org> on 2016/11/22 19:03:58 UTC

[jira] [Created] (YARN-5927) BaseContainerManagerTest::waitForNMContainerState timeout accounting is not accurate

Miklos Szegedi created YARN-5927:
------------------------------------

             Summary: BaseContainerManagerTest::waitForNMContainerState timeout accounting is not accurate
                 Key: YARN-5927
                 URL: https://issues.apache.org/jira/browse/YARN-5927
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Miklos Szegedi
            Priority: Trivial


See below that timeoutSecs is increased twice. We also do a sleep right away before even checking the observed value.
{code}
    do {
      Thread.sleep(2000);
 ...
      timeoutSecs += 2;
    } while (!finalStates.contains(currentState)
        && timeoutSecs++ < timeOutMax);
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org