HBASE-24336 [Metrics] FSDataInputStream's localBytesRead is wrong (#1667)

Signed-off-by: binlijin <binlijin@gmail.com>
This commit is contained in:
Reid Chan 2020-05-06 19:24:05 +08:00
parent edd8829cfc
commit 20a7a542ff
1 changed files with 1 additions and 1 deletions

View File

@ -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().