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] [Commented] (YARN-2991) TestRMRestart.testDecomissionedNMsMetricsOnRMRestart intermittently fails on trunk
Date Tue, 30 Dec 2014 18:46:14 GMT

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

Zhijie Shen commented on YARN-2991:
-----------------------------------

After [YARN-1121|https://issues.apache.org/jira/secure/EditComment!default.jspa?id=12666077&commentId=13808704],
AsyncDispatcher already has the draining logic, but only doesn't provide await() method to
users. The bug you have found with DrainDispatcher seems to be handled properly in AsyncDispatcher.
How about removing the overriding methods in DrainDispatcher, and only adding await()?

> TestRMRestart.testDecomissionedNMsMetricsOnRMRestart intermittently fails on trunk
> ----------------------------------------------------------------------------------
>
>                 Key: YARN-2991
>                 URL: https://issues.apache.org/jira/browse/YARN-2991
>             Project: Hadoop YARN
>          Issue Type: Test
>            Reporter: Zhijie Shen
>            Assignee: Rohith
>            Priority: Blocker
>         Attachments: 0001-YARN-2991.patch
>
>
> {code}
> Error Message
> test timed out after 60000 milliseconds
> Stacktrace
> java.lang.Exception: test timed out after 60000 milliseconds
> 	at java.lang.Object.wait(Native Method)
> 	at java.lang.Thread.join(Thread.java:1281)
> 	at java.lang.Thread.join(Thread.java:1355)
> 	at org.apache.hadoop.yarn.event.AsyncDispatcher.serviceStop(AsyncDispatcher.java:150)
> 	at org.apache.hadoop.service.AbstractService.stop(AbstractService.java:221)
> 	at org.apache.hadoop.service.ServiceOperations.stop(ServiceOperations.java:52)
> 	at org.apache.hadoop.service.ServiceOperations.stopQuietly(ServiceOperations.java:80)
> 	at org.apache.hadoop.service.CompositeService.stop(CompositeService.java:157)
> 	at org.apache.hadoop.service.CompositeService.serviceStop(CompositeService.java:131)
> 	at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceStop(ResourceManager.java:1106)
> 	at org.apache.hadoop.service.AbstractService.stop(AbstractService.java:221)
> 	at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testDecomissionedNMsMetricsOnRMRestart(TestRMRestart.java:1873)
> {code}
> It happened twice this months:
> https://builds.apache.org/job/PreCommit-YARN-Build/6096/
> https://builds.apache.org/job/PreCommit-YARN-Build/6182/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message