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] [Created] (YARN-2192) TestRMHA fails when run with a mix of Schedulers
Date Mon, 23 Jun 2014 05:54:24 GMT
Anubhav Dhoot created YARN-2192:

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

Some TestRMHA assume CapacityScheduler. If the test is run with multiple schedulers, some
of the tests fail because the metricsssytem objects that are shared across tests and fail
as below.

Error Message

Metrics source QueueMetrics,q0=root already exists!

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)

This message was sent by Atlassian JIRA

View raw message