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:
parent
46162a213f
commit
db4d277117
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue