hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhijie Shen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-761) TestNMClientAsync fails sometimes
Date Tue, 04 Jun 2013 06:19:20 GMT

     [ https://issues.apache.org/jira/browse/YARN-761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Zhijie Shen updated YARN-761:
-----------------------------

    Attachment: YARN-761.1.patch

It's the race condition problem, but is restricted with the test.

It happens when
{code}
    Assert.assertEquals("Completed container is not removed", 0,
        asyncClient.containers.size());
{code}
executes before all ContainerEventProcessors completes and containers are removed.

After the following step:
{code}
    while (!((TestCallbackHandler1) asyncClient.callbackHandler)
        .isStopFailureCallsExecuted()) {
      Thread.sleep(10);
    }
{code}
all the callback functions are executed, but the remaining operations in ContainerEventProcessors#run
may still not be executed.
                
> TestNMClientAsync fails sometimes
> ---------------------------------
>
>                 Key: YARN-761
>                 URL: https://issues.apache.org/jira/browse/YARN-761
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Vinod Kumar Vavilapalli
>         Attachments: YARN-761.1.patch
>
>
> See https://builds.apache.org/job/PreCommit-YARN-Build/1101//testReport/.
> It passed on my machine though.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message