Skip to content

Commit

Permalink
HBASE-27099 The log printing fspread/fsread cost time unit should be …
Browse files Browse the repository at this point in the history
…milliseconds (apache#4500)

Co-authored-by: xiaozhang <[email protected]>
Signed-off-by: Duo Zhang <[email protected]>
  • Loading branch information
ZhangIssac and xiaozhang authored Jun 20, 2022
1 parent a0a018d commit b498efd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1709,7 +1709,7 @@ protected HFileBlock readBlockDataInternal(FSDataInputStream is, long offset,
if (!fileContext.isCompressedOrEncrypted()) {
hFileBlock.sanityCheckUncompressed();
}
LOG.trace("Read {} in {} ns", hFileBlock, duration);
LOG.trace("Read {} in {} ms", hFileBlock, duration);
// Cache next block header if we read it for the next time through here.
if (nextBlockOnDiskSize != -1) {
cacheNextBlockHeader(offset + hFileBlock.getOnDiskSizeWithHeader(), onDiskBlock,
Expand Down

0 comments on commit b498efd

Please sign in to comment.