You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by re...@apache.org on 2020/05/06 11:44:00 UTC
[hbase] branch branch-2.3 updated: HBASE-24336 [Metrics]
FSDataInputStream's localBytesRead is wrong (#1667)
This is an automated email from the ASF dual-hosted git repository.
reidchan pushed a commit to branch branch-2.3
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.3 by this push:
new ead9509 HBASE-24336 [Metrics] FSDataInputStream's localBytesRead is wrong (#1667)
ead9509 is described below
commit ead9509d31c9e05b5a3311d03b2dbdd0e2c14aba
Author: Reid Chan <re...@apache.org>
AuthorDate: Wed May 6 19:24:05 2020 +0800
HBASE-24336 [Metrics] FSDataInputStream's localBytesRead is wrong (#1667)
Signed-off-by: binlijin <bi...@gmail.com>
---
.../main/java/org/apache/hadoop/hbase/io/FSDataInputStreamWrapper.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 989d0aa..67bca84 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().