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]>
(cherry picked from commit b498efd)
Change-Id: I87e0594aeb88a46d4f63bb3af5e79cb63e4f46db
  • Loading branch information
2 people authored and Stephen Wu committed Jun 28, 2022
1 parent 49efbb1 commit 258b0fd
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 258b0fd

Please sign in to comment.