hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anubhav Dhoot (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-2192) TestRMHA fails when run with a mix of Schedulers
Date Mon, 23 Jun 2014 06:16:25 GMT

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

Anubhav Dhoot updated YARN-2192:
--------------------------------

    Attachment: YARN-2192.patch

Fix the cleanup of the metrics by removing the conditional that would not work in FairScheduler.

> TestRMHA fails when run with a mix of Schedulers
> ------------------------------------------------
>
>                 Key: YARN-2192
>                 URL: https://issues.apache.org/jira/browse/YARN-2192
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Anubhav Dhoot
>            Assignee: Anubhav Dhoot
>         Attachments: YARN-2192.patch
>
>
> If the test is run with FairSchedulers, some of the tests fail because the metricsssytem
objects are shared across tests and not destroyed completely.
> {code}
> Error Message
> Metrics source QueueMetrics,q0=root already exists!
> Stacktrace
> org.apache.hadoop.metrics2.MetricsException: Metrics source QueueMetrics,q0=root already
exists!
> 	at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.newSourceName(DefaultMetricsSystem.java:126)
> 	at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.sourceName(DefaultMetricsSystem.java:107)
> 	at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.register(MetricsSystemImpl.java:217)
> 	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FSQueueMetrics.forQueue(FSQueueMetrics.java:96)
> 	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.reinitialize(FairScheduler.java:1281)
> 	at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceInit(ResourceManager.java:427)
> {code}



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

Mime
View raw message