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