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 e4dbfe9bed
commit febf15f1ea
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ public class FSDataInputStreamWrapper {
readStatistics.totalBytesRead += hdfsDataInputStream.getReadStatistics().
getTotalBytesRead();
readStatistics.totalLocalBytesRead += hdfsDataInputStream.getReadStatistics().
getTotalBytesRead();
getTotalLocalBytesRead();
readStatistics.totalShortCircuitBytesRead += hdfsDataInputStream.getReadStatistics().
getTotalShortCircuitBytesRead();
readStatistics.totalZeroCopyBytesRead += hdfsDataInputStream.getReadStatistics().