@InterfaceAudience.Private public class RegionsRecoveryConfigManager extends Object implements ConfigurationObserver
Modifier and Type | Field and Description |
---|---|
private HMaster |
hMaster |
private static org.slf4j.Logger |
LOG |
private int |
prevMaxStoreFileRefCount |
private int |
prevRegionsRecoveryInterval |
Constructor and Description |
---|
RegionsRecoveryConfigManager(HMaster hMaster) |
Modifier and Type | Method and Description |
---|---|
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 the
ConfigurationManager
object when the Configuration object is reloaded from disk. |
private static final org.slf4j.Logger LOG
private int prevMaxStoreFileRefCount
private int prevRegionsRecoveryInterval
RegionsRecoveryConfigManager(HMaster hMaster)
public void onConfigurationChange(org.apache.hadoop.conf.Configuration conf)
ConfigurationObserver
ConfigurationManager
object when the Configuration
object is reloaded from disk.onConfigurationChange
in interface ConfigurationObserver
private int getMaxStoreFileRefCount(org.apache.hadoop.conf.Configuration configuration)
private int getRegionsRecoveryChoreInterval(org.apache.hadoop.conf.Configuration configuration)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.