YARN-2192. TestRMHA fails when run with a mix of Schedulers. (Anubhav Dhoot via kasha)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1605138 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Karthik Kambatla 2014-06-24 17:05:35 +00:00
parent 46162a213f
commit db4d277117
2 changed files with 4 additions and 4 deletions

View File

@ -178,6 +178,9 @@ Release 2.5.0 - UNRELEASED
YARN-2074. Changed ResourceManager to not count AM preemptions towards app
failures. (Jian He via vinodkv)
YARN-2192. TestRMHA fails when run with a mix of Schedulers.
(Anubhav Dhoot via kasha)
OPTIMIZATIONS
BUG FIXES

View File

@ -96,10 +96,7 @@ public class TestRMHA {
configuration.setBoolean(YarnConfiguration.YARN_ACL_ENABLE, true);
ClusterMetrics.destroy();
QueueMetrics.clearQueueMetrics();
MetricsSystem ms = DefaultMetricsSystem.instance();
if (ms.getSource("ClusterMetrics") != null) {
DefaultMetricsSystem.shutdown();
}
DefaultMetricsSystem.shutdown();
}
private void checkMonitorHealth() throws IOException {