This is an automated email from the ASF dual-hosted git repository. reidchan pushed a commit to branch branch-1 in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-1 by this push: new ebbb0e2 HBASE-22656 [Metrics] Table metrics 'BatchPut' and 'BatchDelete' are never updated (#358) ebbb0e2 is described below commit ebbb0e29873007de72befb5f025635ba8b85bb3d Author: Reid Chan <reidc...@apache.org> AuthorDate: Sun Jul 7 23:15:10 2019 +0800 HBASE-22656 [Metrics] Table metrics 'BatchPut' and 'BatchDelete' are never updated (#358) Signed-off-by: Michael Stack <st...@apache.org> --- .../org/apache/hadoop/hbase/regionserver/MetricsRegionServer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServer.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServer.java index f6035c1..555b5d5 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServer.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServer.java @@ -93,7 +93,7 @@ public class MetricsRegionServer { public void updatePutBatch(TableName tn, long t) { if (tableMetrics != null && tn != null) { - tableMetrics.updatePut(tn, t); + tableMetrics.updatePutBatch(tn, t); } if (t > 1000) { serverSource.incrSlowPut(); @@ -117,7 +117,7 @@ public class MetricsRegionServer { public void updateDeleteBatch(TableName tn, long t) { if (tableMetrics != null && tn != null) { - tableMetrics.updateDelete(tn, t); + tableMetrics.updateDeleteBatch(tn, t); } if (t > 1000) { serverSource.incrSlowDelete();