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:43:24 UTC
[hbase] branch branch-2 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
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2 by this push:
new 20a7a54 HBASE-24336 [Metrics] FSDataInputStream's localBytesRead is wrong (#1667)
20a7a54 is described below
commit 20a7a542ffe92e4ea9527876f8b0f2997f4536a8
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().