This is an automated email from the ASF dual-hosted git repository.

liuxiaocs pushed a commit to branch branch-3
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-3 by this push:
     new 54a7fd1bbeb HBASE-30055 Correct the configuration in 
MobFileCompactionChore log (#8023)
54a7fd1bbeb is described below

commit 54a7fd1bbebe9eee6bfd7906670ed597c63a07d3
Author: Xiao Liu <[email protected]>
AuthorDate: Sun Apr 5 18:32:58 2026 +0800

    HBASE-30055 Correct the configuration in MobFileCompactionChore log (#8023)
    
    Signed-off-by: Duo Zhang <[email protected]>
    (cherry picked from commit e057995c7e098f65c86602060d30a20cd3a15827)
---
 .../org/apache/hadoop/hbase/mob/MobFileCompactionChore.java  | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobFileCompactionChore.java
 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobFileCompactionChore.java
index 18dcbc5cf61..426719d50da 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobFileCompactionChore.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobFileCompactionChore.java
@@ -102,15 +102,15 @@ public class MobFileCompactionChore extends 
ScheduledChore {
                 hcd.getNameAsString());
               if (regionBatchSize == 
MobConstants.DEFAULT_MOB_MAJOR_COMPACTION_REGION_BATCH_SIZE) {
                 LOG.debug(
-                  "Table={} cf ={}: batch MOB compaction is disabled, {}=0 -"
+                  "Table={} cf={}: batch MOB compaction is disabled, {}=0 -"
                     + " all regions will be compacted in parallel",
-                  htd.getTableName(), hcd.getNameAsString(), 
"hbase.mob.compaction.batch.size");
+                  htd.getTableName(), hcd.getNameAsString(),
+                  MobConstants.MOB_MAJOR_COMPACTION_REGION_BATCH_SIZE);
                 admin.majorCompact(htd.getTableName(), hcd.getName());
               } else {
-                LOG.info(
-                  "Table={} cf={}: performing MOB major compaction in batches "
-                    + "'hbase.mob.compaction.batch.size'={}",
-                  htd.getTableName(), hcd.getNameAsString(), regionBatchSize);
+                LOG.info("Table={} cf={}: performing MOB major compaction in 
batches {}={}",
+                  htd.getTableName(), hcd.getNameAsString(),
+                  MobConstants.MOB_MAJOR_COMPACTION_REGION_BATCH_SIZE, 
regionBatchSize);
                 performMajorCompactionInBatches(admin, htd, hcd);
               }
             } else {

Reply via email to