HBASE-21816 : Print source cluster replication config directory
Signed-off-by: Josh Elser <elserj@apache.org> Signed-off-by: Toshihiro Suzuki <brfrn169@gmail.com>
This commit is contained in:
parent
4c33764d35
commit
a984b44798
|
@ -60,9 +60,10 @@ public class DefaultSourceFSConfigurationProvider implements SourceFSConfigurati
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG.info("Loading source cluster " + replicationClusterId
|
|
||||||
+ " file system configurations from xml files under directory " + replicationConfDir);
|
|
||||||
File confDir = new File(replicationConfDir, replicationClusterId);
|
File confDir = new File(replicationConfDir, replicationClusterId);
|
||||||
|
LOG.info("Loading source cluster " + replicationClusterId
|
||||||
|
+ " file system configurations from xml "
|
||||||
|
+ "files under directory " + confDir);
|
||||||
String[] listofConfFiles = FileUtil.list(confDir);
|
String[] listofConfFiles = FileUtil.list(confDir);
|
||||||
for (String confFile : listofConfFiles) {
|
for (String confFile : listofConfFiles) {
|
||||||
if (new File(confDir, confFile).isFile() && confFile.endsWith(XML)) {
|
if (new File(confDir, confFile).isFile() && confFile.endsWith(XML)) {
|
||||||
|
|
Loading…
Reference in New Issue