Interface SourceFSConfigurationProvider
- All Known Implementing Classes:
DefaultSourceFSConfigurationProvider
Interface that defines how a region server in peer cluster will get source cluster file system
configurations. User can configure their custom implementation implementing this interface by
setting the value of their custom implementation's fully qualified class name to
hbase.replication.source.fs.conf.provider property in RegionServer configuration. Default is
DefaultSourceFSConfigurationProvider
-
Method Summary
-
Method Details
-
getConf
org.apache.hadoop.conf.Configuration getConf(org.apache.hadoop.conf.Configuration sinkConf, String replicationClusterId) throws IOException Returns the source cluster file system configuration for the given source cluster replication ID.- 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.
-