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
Modifier and TypeFieldDescriptionprivate RegionsRecoveryChore
private final HMaster
private static final org.slf4j.Logger
private int
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) RegionsRecoveryChore
getChore()
private int
getMaxStoreFileRefCount
(org.apache.hadoop.conf.Configuration configuration) private int
getRegionsRecoveryChoreInterval
(org.apache.hadoop.conf.Configuration configuration) void
onConfigurationChange
(org.apache.hadoop.conf.Configuration conf) This method would be called by theConfigurationManager
object when theConfiguration
object is reloaded from disk.
-
Field Details
-
LOG
-
hMaster
-
chore
-
prevMaxStoreFileRefCount
-
prevRegionsRecoveryInterval
-
-
Constructor Details
-
RegionsRecoveryConfigManager
RegionsRecoveryConfigManager(HMaster hMaster)
-
-
Method Details
-
onConfigurationChange
Description copied from interface:ConfigurationObserver
This method would be called by theConfigurationManager
object when theConfiguration
object is reloaded from disk.- Specified by:
onConfigurationChange
in interfaceConfigurationObserver
-
getMaxStoreFileRefCount
-
getRegionsRecoveryChoreInterval
-
getChore
-