[ https://issues.apache.org/jira/browse/YARN-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jian He updated YARN-339: ------------------------- Attachment: YARN-339.patch > TestResourceTrackerService is failing intermittently > ---------------------------------------------------- > > Key: YARN-339 > URL: https://issues.apache.org/jira/browse/YARN-339 > Project: Hadoop YARN > Issue Type: Bug > Affects Versions: 3.0.0, 0.23.5 > Reporter: Ravi Prakash > Assignee: Jian He > Attachments: YARN-339.patch > > > The test after testReconnectNode() is failing usually. This might be a race > condition in Metrics2 code. > Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.127 sec <<< > FAILURE! > testDecommissionWithIncludeHosts(org.apache.hadoop.yarn.server.resourcemanager.TestResourceTrackerService) > Time elapsed: 55 sec <<< ERROR! > org.apache.hadoop.metrics2.MetricsException: Metrics source ClusterMetrics > already exists! > at > org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.newSourceName(DefaultMetricsSystem.java:134) > at > org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.sourceName(DefaultMetricsSystem.java:115) > at > org.apache.hadoop.metrics2.impl.MetricsSystemImpl.register(MetricsSystemImpl.java:217) > at > org.apache.hadoop.yarn.server.resourcemanager.ClusterMetrics.registerMetrics(ClusterMetrics.java:71) > at > org.apache.hadoop.yarn.server.resourcemanager.ClusterMetrics.getMetrics(ClusterMetrics.java:58) > at > org.apache.hadoop.yarn.server.resourcemanager.TestResourceTrackerService.testDecommissionWithIncludeHosts(TestResourceTrackerService.java:74) -- 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