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

Thomas Graves updated YARN-43:
------------------------------

    Attachment: YARN-43.patch

Changed this to have a destroy method in ClusterMetrics which gets called at 
teardown.

I chose not to have shutdown method since RM shuts down the metrics system when 
it shuts down.  I made this method visiblefortesting because I couldn't think 
of usecase for it to be public.  If you can think of one let me know.
                
> TestResourceTrackerService fail intermittently on jdk7
> ------------------------------------------------------
>
>                 Key: YARN-43
>                 URL: https://issues.apache.org/jira/browse/YARN-43
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.0.2-alpha, 0.23.3
>            Reporter: Thomas Graves
>            Assignee: Thomas Graves
>              Labels: java7
>         Attachments: YARN-43.patch, YARN-43.patch
>
>
> Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.73 sec <<< 
> FAILURE!
> testDecommissionWithIncludeHosts(org.apache.hadoop.yarn.server.resourcemanager.TestResourceTrackerService)
>   Time elapsed: 0.086 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: expected:<0> but was:<1>        at 
> junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.failNotEquals(Assert.java:283)
>         at junit.framework.Assert.assertEquals(Assert.java:64)
>         at junit.framework.Assert.assertEquals(Assert.java:195)
>         at junit.framework.Assert.assertEquals(Assert.java:201)
>         at 
> org.apache.hadoop.yarn.server.resourcemanager.TestResourceTrackerService.testDecommissionWithIncludeHosts(TestResourceTrackerService.java:90)

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

Reply via email to