[
https://issues.apache.org/jira/browse/YARN-1533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13856531#comment-13856531
]
Liyin Liang commented on YARN-1533:
-----------------------------------
The above case hapens when the order of execution is as following:
{code}
[distributedshell.ApplicationMaster]
amRMClient.addContainerRequest(containerAsk);
[impl.AMRMClientAsyncImpl HeartbeatThread] response = client.allocate(progress);
[distributedshell.ApplicationMaster]
amRMClient.addContainerRequest(containerAsk);
[impl.AMRMClientAsyncImpl HeartbeatThread] response = client.allocate(progress);
{code}
> TestDistributedShell.testDSShell occasionally fails
> ---------------------------------------------------
>
> Key: YARN-1533
> URL: https://issues.apache.org/jira/browse/YARN-1533
> Project: Hadoop YARN
> Issue Type: Bug
> Affects Versions: 2.2.0
> Reporter: Liyin Liang
>
> TestApplicationCleanup is occasionally failing with the error:
> {code}
> -------------------------------------------------------------------------------
> Test set:
> org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 114.163 sec
> <<< FAILURE! - in
> org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell
> testDSShell(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)
> Time elapsed: 90.009 sec <<< ERROR!
> java.lang.Exception: test timed out after 90000 milliseconds
> at java.lang.Object.wait(Native Method)
> at java.lang.Thread.join(Thread.java:1186)
> at java.lang.Thread.join(Thread.java:1239)
> at
> org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSShell(TestDistributedShell.java:163)
> {code}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)