diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/FSDataInputStreamWrapper.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/FSDataInputStreamWrapper.java index 989d0aab2e6..67bca846521 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/FSDataInputStreamWrapper.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/FSDataInputStreamWrapper.java @@ -256,7 +256,7 @@ public class FSDataInputStreamWrapper implements Closeable { readStatistics.totalBytesRead += hdfsDataInputStream.getReadStatistics(). getTotalBytesRead(); readStatistics.totalLocalBytesRead += hdfsDataInputStream.getReadStatistics(). - getTotalBytesRead(); + getTotalLocalBytesRead(); readStatistics.totalShortCircuitBytesRead += hdfsDataInputStream.getReadStatistics(). getTotalShortCircuitBytesRead(); readStatistics.totalZeroCopyBytesRead += hdfsDataInputStream.getReadStatistics().