You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2022/06/20 16:26:41 UTC
[hbase] branch branch-2 updated: HBASE-27099 The log printing fspread/fsread cost time unit should be milliseconds (#4500)
This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2 by this push:
new 18400ac3bd2 HBASE-27099 The log printing fspread/fsread cost time unit should be milliseconds (#4500)
18400ac3bd2 is described below
commit 18400ac3bd2c64740c0e831a0107e87d6947ee34
Author: xiaozhang0319 <58...@users.noreply.github.com>
AuthorDate: Tue Jun 21 00:13:33 2022 +0800
HBASE-27099 The log printing fspread/fsread cost time unit should be milliseconds (#4500)
Co-authored-by: xiaozhang <is...@huolala.cn>
Signed-off-by: Duo Zhang <zh...@apache.org>
(cherry picked from commit b498efdbc1f4f51d715edcf6b06456f04f518c7f)
---
.../src/main/java/org/apache/hadoop/hbase/io/hfile/HFileBlock.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileBlock.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileBlock.java
index 2cd60901613..006ef91b06b 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileBlock.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileBlock.java
@@ -1709,7 +1709,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,