svn merge -c 1297557 from trunk to branch-0.23 FIXES: MAPREDUCE-3976. TestRMContainerAllocator failing (Jason Lowe via bobby)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1297558 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Joseph Evans 2012-03-06 16:19:10 +00:00
parent 0b7ac49953
commit a7a9d16d63
3 changed files with 5 additions and 3 deletions

View File

@ -194,6 +194,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
NEW FEATURES

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) {