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 e6f65e73c22..3396549f9a9 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 @@ -98,7 +98,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(); @@ -122,7 +122,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();