HBASE-14644 Region in transition metric is broken -- addendum (Huaxiang Sun)
This commit is contained in:
parent
4377e16619
commit
6605f8f683
@ -440,10 +440,6 @@ public class HMaster extends HRegionServer implements MasterServices, Server {
|
||||
}
|
||||
}
|
||||
|
||||
// Do Metrics periodically
|
||||
periodicDoMetricsChore = new PeriodicDoMetrics(msgInterval, this);
|
||||
getChoreService().scheduleChore(periodicDoMetricsChore);
|
||||
|
||||
// Some unit tests don't need a cluster, so no zookeeper at all
|
||||
if (!conf.getBoolean("hbase.testing.nocluster", false)) {
|
||||
activeMasterManager = new ActiveMasterManager(zooKeeper, this.serverName, this);
|
||||
@ -800,6 +796,10 @@ public class HMaster extends HRegionServer implements MasterServices, Server {
|
||||
this.catalogJanitorChore = new CatalogJanitor(this, this);
|
||||
getChoreService().scheduleChore(catalogJanitorChore);
|
||||
|
||||
// Do Metrics periodically
|
||||
periodicDoMetricsChore = new PeriodicDoMetrics(msgInterval, this);
|
||||
getChoreService().scheduleChore(periodicDoMetricsChore);
|
||||
|
||||
status.setStatus("Starting namespace manager");
|
||||
initNamespace();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user