Class DefaultSourceFSConfigurationProvider
java.lang.Object
org.apache.hadoop.hbase.replication.regionserver.DefaultSourceFSConfigurationProvider
- All Implemented Interfaces:
SourceFSConfigurationProvider
@Private
public class DefaultSourceFSConfigurationProvider
extends Object
implements SourceFSConfigurationProvider
This will load all the xml configuration files for the source cluster replication ID from user
configured replication configuration directory.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
LOG
-
sourceClustersConfs
-
XML
- See Also:
-
-
Constructor Details
-
DefaultSourceFSConfigurationProvider
public DefaultSourceFSConfigurationProvider()
-
-
Method Details
-
getConf
public org.apache.hadoop.conf.Configuration getConf(org.apache.hadoop.conf.Configuration sinkConf, String replicationClusterId) throws IOException Description copied from interface:SourceFSConfigurationProvider
Returns the source cluster file system configuration for the given source cluster replication ID.- Specified by:
getConf
in interfaceSourceFSConfigurationProvider
- Parameters:
sinkConf
- sink cluster configurationreplicationClusterId
- unique ID which identifies the source cluster- Returns:
- source cluster file system configuration
- Throws:
IOException
- for invalid directory or for a bad disk.
-