You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by lu...@apache.org on 2026/09/03 15:52:35 UTC
(hbase) branch branch-2 updated: HBASE-30349 MobFileCleanupUtil: use human-readable date instead of timestamp in logs (#8592)
This is an automated email from the ASF dual-hosted git repository.
guluo2016 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 125c41cd184 HBASE-30349 MobFileCleanupUtil: use human-readable date instead of timestamp in logs (#8592)
125c41cd184 is described below
commit 125c41cd18441cd984a55af7a4c30929512b730e
Author: Peng Lu <lu...@apache.org>
AuthorDate: Thu Sep 3 23:47:04 2026 +0800
HBASE-30349 MobFileCleanupUtil: use human-readable date instead of timestamp in logs (#8592)
Signed-off-by: Xiao Liu <li...@apache.org>
---
.../src/main/java/org/apache/hadoop/hbase/mob/MobFileCleanupUtil.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobFileCleanupUtil.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobFileCleanupUtil.java
index 966be88f77e..556ab6085fd 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobFileCleanupUtil.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobFileCleanupUtil.java
@@ -20,6 +20,7 @@ package org.apache.hadoop.hbase.mob;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.ArrayList;
+import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
@@ -82,7 +83,7 @@ public final class MobFileCleanupUtil {
return;
} else {
LOG.info("Only MOB files whose creation time older than {} will be archived, table={}",
- maxCreationTimeToArchive, table);
+ new Date(maxCreationTimeToArchive), table);
}
FileSystem fs = FileSystem.get(conf);