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:
kpalanisamy 2019-02-07 16:29:21 -08:00 committed by Toshihiro Suzuki
parent 4c33764d35
commit a984b44798
1 changed files with 3 additions and 2 deletions

View File

@ -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)) {