hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miklos Szegedi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-5927) BaseContainerManagerTest::waitForNMContainerState timeout accounting is not accurate
Date Tue, 22 Nov 2016 19:03:58 GMT
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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message