hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject git commit: HBASE-11816 Initializing custom Metrics implementation failed in Mapper or Reducer
Date Mon, 25 Aug 2014 19:28:35 GMT
Repository: hbase
Updated Branches:
  refs/heads/0.98 5442d7f21 -> 5600f0c17


HBASE-11816 Initializing custom Metrics implementation failed in Mapper or Reducer


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

Branch: refs/heads/0.98
Commit: 5600f0c1795fb215c1117a64cb21111d66b0da0a
Parents: 5442d7f
Author: stack <stack@apache.org>
Authored: Mon Aug 25 12:27:09 2014 -0700
Committer: stack <stack@apache.org>
Committed: Mon Aug 25 12:28:17 2014 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/hbase/metrics/BaseSourceImpl.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/5600f0c1/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/metrics/BaseSourceImpl.java
----------------------------------------------------------------------
diff --git a/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/metrics/BaseSourceImpl.java
b/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/metrics/BaseSourceImpl.java
index edc39e7..3cbdf8a 100644
--- a/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/metrics/BaseSourceImpl.java
+++ b/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/metrics/BaseSourceImpl.java
@@ -48,7 +48,7 @@ public class BaseSourceImpl implements BaseSource, MetricsSource {
       if (inited) return;
       inited = true;
       DefaultMetricsSystem.initialize(HBASE_METRICS_SYSTEM_NAME);
-      jvmMetricsSource = JvmMetrics.create(name, "", DefaultMetricsSystem.instance());
+      jvmMetricsSource = JvmMetrics.initSingleton(name, "");
 
     }
   }


Mime
View raw message