hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mberto...@apache.org
Subject [1/4] hbase git commit: HBASE-14644 Region in transition metric is broken -- addendum (Huaxiang Sun)
Date Mon, 20 Jun 2016 17:57:51 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 4377e1661 -> 6605f8f68
  refs/heads/branch-1.2 8ea80b455 -> ba725759a
  refs/heads/branch-1.3 6c519f362 -> c6953d68d
  refs/heads/master be56b5ae7 -> 313a3d23a


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/6605f8f6
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/6605f8f6
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/6605f8f6

Branch: refs/heads/branch-1
Commit: 6605f8f683bce1993942df78597ecc7c277e556c
Parents: 4377e16
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:45:23 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/6605f8f6/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 086329e..3a37429 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
@@ -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();
 


Mime
View raw message