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:
parent
e1de804ba1
commit
18400ac3bd
|
@ -1709,7 +1709,7 @@ public class HFileBlock implements Cacheable {
|
||||||
if (!fileContext.isCompressedOrEncrypted()) {
|
if (!fileContext.isCompressedOrEncrypted()) {
|
||||||
hFileBlock.sanityCheckUncompressed();
|
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.
|
// Cache next block header if we read it for the next time through here.
|
||||||
if (nextBlockOnDiskSize != -1) {
|
if (nextBlockOnDiskSize != -1) {
|
||||||
cacheNextBlockHeader(offset + hFileBlock.getOnDiskSizeWithHeader(), onDiskBlock,
|
cacheNextBlockHeader(offset + hFileBlock.getOnDiskSizeWithHeader(), onDiskBlock,
|
||||||
|
|
Loading…
Reference in New Issue