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: [email protected]
For additional commands, e-mail: [email protected]