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 (#4500)

Co-authored-by: xiaozhang <issac.zhang@huolala.cn>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit b498efd)
  • Loading branch information
ZhangIssac authored and Apache9 committed Jun 20, 2022
1 parent eb41b47 commit 745cc7b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1705,7 +1705,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 745cc7b

Please sign in to comment.