@InterfaceAudience.Private public class DefaultSourceFSConfigurationProvider extends Object implements SourceFSConfigurationProvider
Constructor and Description |
---|
DefaultSourceFSConfigurationProvider() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.conf.Configuration |
getConf(org.apache.hadoop.conf.Configuration sinkConf,
String replicationClusterId)
Returns the source cluster file system configuration for the given source cluster replication
ID.
|
public DefaultSourceFSConfigurationProvider()
public org.apache.hadoop.conf.Configuration getConf(org.apache.hadoop.conf.Configuration sinkConf, String replicationClusterId) throws IOException
SourceFSConfigurationProvider
getConf
in interface SourceFSConfigurationProvider
sinkConf
- sink cluster configurationreplicationClusterId
- unique ID which identifies the source clusterIOException
- for invalid directory or for a bad disk.Copyright © 2007–2019 Cloudera. All rights reserved.