Xiao Liu created HBASE-30209:
--------------------------------

             Summary: MobFileCleanerChore is not registered for online 
configuration updates
                 Key: HBASE-30209
                 URL: https://issues.apache.org/jira/browse/HBASE-30209
             Project: HBase
          Issue Type: Improvement
          Components: master, mob
            Reporter: Xiao Liu
            Assignee: Xiao Liu
             Fix For: 2.7.0, 3.0.0-beta-2, 2.5.16, 2.6.7


{\{MobFileCleanerChore}} implements \{{ConfigurationObserver}}, but 
\{{HMaster}} only creates and schedules the chore and does not register it with 
\{{ConfigurationManager}}.

Because of this, online configuration reloads triggered by \{{update_config}} 
do not reach \{{MobFileCleanerChore}}. In practice, changes such as 
\{{hbase.master.mob.cleaner.threads}} do not take effect until the master is 
restarted.

This patch registers \{{MobFileCleanerChore}} with \{{ConfigurationManager}} 
during initialization, deregisters it during shutdown, and adds tests to cover 
both the \{{HMaster}} wiring and the chore's own configuration change handling.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to