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 committed by GitHub
parent 294c228c67
commit c32d18d4fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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().