MAPREDUCE-3976. TestRMContainerAllocator failing (Jason Lowe via bobby)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1297557 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Joseph Evans 2012-03-06 16:17:41 +00:00
parent 0ee71adeb4
commit a98b756c73
3 changed files with 5 additions and 3 deletions

View File

@ -278,6 +278,8 @@ Release 0.23.2 - UNRELEASED
MAPREDUCE-3034. Ensure NodeManager reboots itself on direction from
ResourceManager. (Devaraj K & Eric Payne via acmurthy)
MAPREDUCE-3976. TestRMContainerAllocator failing (Jason Lowe via bobby)
Release 0.23.1 - 2012-02-17
INCOMPATIBLE CHANGES

View File

@ -55,7 +55,7 @@ public class MRAppMetrics {
}
public static MRAppMetrics create(MetricsSystem ms) {
JvmMetrics.create("MRAppMaster", null, ms);
JvmMetrics.initSingleton("MRAppMaster", null);
return ms.register(new MRAppMetrics());
}

View File

@ -451,8 +451,8 @@ public class ResourceManager extends CompositeService implements Recoverable {
}
startWepApp();
MetricsSystem ms = DefaultMetricsSystem.initialize("ResourceManager");
JvmMetrics.create("ResourceManager", null, ms);
DefaultMetricsSystem.initialize("ResourceManager");
JvmMetrics.initSingleton("ResourceManager", null);
try {
rmDTSecretManager.startThreads();
} catch(IOException ie) {