Package org.apache.hadoop.hbase.master
Class RegionsRecoveryConfigManager
java.lang.Object
org.apache.hadoop.hbase.master.RegionsRecoveryConfigManager
- All Implemented Interfaces:
ConfigurationObserver
Config manager for RegionsRecovery Chore - Dynamically reload config and update chore accordingly
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate RegionsRecoveryChoreprivate final HMasterprivate static final org.slf4j.Loggerprivate intprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) RegionsRecoveryChoregetChore()private intgetMaxStoreFileRefCount(org.apache.hadoop.conf.Configuration configuration) private intgetRegionsRecoveryChoreInterval(org.apache.hadoop.conf.Configuration configuration) voidonConfigurationChange(org.apache.hadoop.conf.Configuration conf) This method would be called by theConfigurationManagerobject when theConfigurationobject is reloaded from disk.
-
Field Details
-
LOG
-
hMaster
-
chore
-
prevMaxStoreFileRefCount
-
prevRegionsRecoveryInterval
-
-
Constructor Details
-
RegionsRecoveryConfigManager
RegionsRecoveryConfigManager(HMaster hMaster)
-
-
Method Details
-
onConfigurationChange
Description copied from interface:ConfigurationObserverThis method would be called by theConfigurationManagerobject when theConfigurationobject is reloaded from disk.- Specified by:
onConfigurationChangein interfaceConfigurationObserver
-
getMaxStoreFileRefCount
-
getRegionsRecoveryChoreInterval
-
getChore
-