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

Rohith commented on YARN-2991:
------------------------------

bq. The bug you have found with DrainDispatcher seems to be handled properly in 
AsyncDispatcher
Yes, it is handled.

bq. How about removing the overriding methods in DrainDispatcher, and only 
adding await()?
This I was thought initially before uploading current patch. But since 
visibility of instance variable  *drained* will change from private to 
protected only for test framework. Given it is accepted, we can change 
visibility.

> 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)

Reply via email to