You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Xuan Gong (JIRA)" <ji...@apache.org> on 2014/04/08 00:12:15 UTC

[jira] [Commented] (YARN-1537) TestLocalResourcesTrackerImpl.testLocalResourceCache often failed

    [ https://issues.apache.org/jira/browse/YARN-1537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13962322#comment-13962322 ] 

Xuan Gong commented on YARN-1537:
---------------------------------

This testcase fails occasionally because of race condition.
Adding timeout to mockito.verify should fix it.

> TestLocalResourcesTrackerImpl.testLocalResourceCache often failed
> -----------------------------------------------------------------
>
>                 Key: YARN-1537
>                 URL: https://issues.apache.org/jira/browse/YARN-1537
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: 2.2.0
>            Reporter: shenhong
>            Assignee: Xuan Gong
>         Attachments: YARN-1537.1.patch
>
>
> Here is the error log
> {code}
> Results :
> Failed tests: 
>   TestLocalResourcesTrackerImpl.testLocalResourceCache:351 
> Wanted but not invoked:
> eventHandler.handle(
>     isA(org.apache.hadoop.yarn.server.nodemanager.containermanager.container.ContainerResourceLocalizedEvent)
> );
> -> at org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.TestLocalResourcesTrackerImpl.testLocalResourceCache(TestLocalResourcesTrackerImpl.java:351)
> However, there were other interactions with this mock:
> -> at org.apache.hadoop.yarn.event.AsyncDispatcher.dispatch(AsyncDispatcher.java:134)
> -> at org.apache.hadoop.yarn.event.AsyncDispatcher.dispatch(AsyncDispatcher.java:134)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)