hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mberto...@apache.org
Subject [4/4] hbase git commit: HBASE-14644 Region in transition metric is broken -- addendum (Huaxiang Sun)
Date Mon, 20 Jun 2016 17:57:54 GMT
HBASE-14644 Region in transition metric is broken -- addendum (Huaxiang Sun)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/ba725759
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/ba725759
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/ba725759

Branch: refs/heads/branch-1.2
Commit: ba725759a1ea113c9c91345541b3635135c1ed5a
Parents: 8ea80b4
Author: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
Authored: Mon Jun 20 10:42:32 2016 -0700
Committer: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
Committed: Mon Jun 20 10:47:11 2016 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/hbase/master/HMaster.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/ba725759/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
index b373207..36a0693 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
@@ -425,10 +425,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);
@@ -779,6 +775,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();
 


Mime
View raw message