HBASE-14644 Region in transition metric is broken -- addendum (Huaxiang Sun)
This commit is contained in:
parent
be56b5ae71
commit
313a3d23a8
|
@ -447,10 +447,6 @@ public class HMaster extends HRegionServer implements MasterServices {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Do Metrics periodically
|
|
||||||
periodicDoMetricsChore = new PeriodicDoMetrics(msgInterval, this);
|
|
||||||
getChoreService().scheduleChore(periodicDoMetricsChore);
|
|
||||||
|
|
||||||
// Some unit tests don't need a cluster, so no zookeeper at all
|
// Some unit tests don't need a cluster, so no zookeeper at all
|
||||||
if (!conf.getBoolean("hbase.testing.nocluster", false)) {
|
if (!conf.getBoolean("hbase.testing.nocluster", false)) {
|
||||||
activeMasterManager = new ActiveMasterManager(zooKeeper, this.serverName, this);
|
activeMasterManager = new ActiveMasterManager(zooKeeper, this.serverName, this);
|
||||||
|
@ -812,6 +808,10 @@ public class HMaster extends HRegionServer implements MasterServices {
|
||||||
this.catalogJanitorChore = new CatalogJanitor(this, this);
|
this.catalogJanitorChore = new CatalogJanitor(this, this);
|
||||||
getChoreService().scheduleChore(catalogJanitorChore);
|
getChoreService().scheduleChore(catalogJanitorChore);
|
||||||
|
|
||||||
|
// Do Metrics periodically
|
||||||
|
periodicDoMetricsChore = new PeriodicDoMetrics(msgInterval, this);
|
||||||
|
getChoreService().scheduleChore(periodicDoMetricsChore);
|
||||||
|
|
||||||
status.setStatus("Starting cluster schema service");
|
status.setStatus("Starting cluster schema service");
|
||||||
initClusterSchemaService();
|
initClusterSchemaService();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue