HBASE-27099 The log printing fspread/fsread cost time unit should be milliseconds (#4500)

Co-authored-by: xiaozhang <issac.zhang@huolala.cn>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit b498efdbc1)
This commit is contained in:
xiaozhang0319 2022-06-21 00:13:33 +08:00 committed by Duo Zhang
parent eb41b47baa
commit 745cc7bc58
1 changed files with 1 additions and 1 deletions

View File

@ -1705,7 +1705,7 @@ public class HFileBlock implements Cacheable {
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,