hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject git commit: HBASE-11516 Track time spent in executing coprocessors in each region - addendum for hadoop-1
Date Fri, 01 Aug 2014 23:17:31 GMT
Repository: hbase
Updated Branches:
  refs/heads/0.98 f2fef2d39 -> e02698c52


HBASE-11516 Track time spent in executing coprocessors in each region - addendum for hadoop-1


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

Branch: refs/heads/0.98
Commit: e02698c52dcfc7f9a2a7c41b9294a138c31ebc5c
Parents: f2fef2d
Author: Ted Yu <tedyu@apache.org>
Authored: Fri Aug 1 23:17:20 2014 +0000
Committer: Ted Yu <tedyu@apache.org>
Committed: Fri Aug 1 23:17:20 2014 +0000

----------------------------------------------------------------------
 .../hbase/regionserver/TestMetricsRegionSourceImpl.java     | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/e02698c5/hbase-hadoop1-compat/src/test/java/org/apache/hadoop/hbase/regionserver/TestMetricsRegionSourceImpl.java
----------------------------------------------------------------------
diff --git a/hbase-hadoop1-compat/src/test/java/org/apache/hadoop/hbase/regionserver/TestMetricsRegionSourceImpl.java
b/hbase-hadoop1-compat/src/test/java/org/apache/hadoop/hbase/regionserver/TestMetricsRegionSourceImpl.java
index 30beb8a..3251e8b 100644
--- a/hbase-hadoop1-compat/src/test/java/org/apache/hadoop/hbase/regionserver/TestMetricsRegionSourceImpl.java
+++ b/hbase-hadoop1-compat/src/test/java/org/apache/hadoop/hbase/regionserver/TestMetricsRegionSourceImpl.java
@@ -18,6 +18,11 @@
 
 package org.apache.hadoop.hbase.regionserver;
 
+import java.util.HashMap;
+import java.util.Map;
+
+import org.apache.commons.math.stat.descriptive.DescriptiveStatistics;
+
 import org.apache.hadoop.hbase.CompatibilitySingletonFactory;
 import org.junit.Test;
 
@@ -117,5 +122,9 @@ public class TestMetricsRegionSourceImpl {
     public long getNumCompactionsCompleted() {
       return 0;
     }
+    @Override
+    public Map<String, DescriptiveStatistics> getCoprocessorExecutionStatistics() {
+      return null;
+    }
   }
 }


Mime
View raw message