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

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


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

commit b080cba478bc9f5c420dd1d0be1a42bc113ac972
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 385b77e0107..64453f106cd 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
@@ -105,15 +105,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