Github user hyunsik commented on a diff in the pull request:
https://github.com/apache/tajo/pull/625#discussion_r34437106
--- Diff: tajo-core/src/main/java/org/apache/tajo/master/TajoMaster.java ---
@@ -255,15 +255,15 @@ private void initWebServer() throws Exception {
private void checkAndInitializeSystemDirectories() throws IOException {
// Get Tajo root dir
this.tajoRootPath = TajoConf.getTajoRootDir(systemConf);
- LOG.info("Tajo Root Directory: " + tajoRootPath);
// Check and Create Tajo root dir
this.defaultFS = tajoRootPath.getFileSystem(systemConf);
systemConf.set(CommonConfigurationKeysPublic.FS_DEFAULT_NAME_KEY,
defaultFS.getUri().toString());
- LOG.info("FileSystem (" + this.defaultFS.getUri() + ") is
initialized.");
if (!defaultFS.exists(tajoRootPath)) {
defaultFS.mkdirs(tajoRootPath, new
FsPermission(TAJO_ROOT_DIR_PERMISSION));
LOG.info("Tajo Root Directory '" + tajoRootPath + "' is created.");
+ } else {
+ LOG.info("FileSystem (" + this.defaultFS.getUri() + ") is
initialized.");
--- End diff --
This change seems to be different to the original intension. This log
appears to show which HDFS namenode is used in this TajoMaster.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---