kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liy...@apache.org
Subject incubator-kylin git commit: minor, use absolute path instead of canonial path in AbstractHadoopJob.loadKylinPropsAndMetadata() for consistency
Date Mon, 24 Aug 2015 02:13:00 GMT
Repository: incubator-kylin
Updated Branches:
  refs/heads/0.7-staging 9fdbc9ccb -> 93baf4d5f


minor, use absolute path instead of canonial path in AbstractHadoopJob.loadKylinPropsAndMetadata()
for consistency


Project: http://git-wip-us.apache.org/repos/asf/incubator-kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kylin/commit/93baf4d5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kylin/tree/93baf4d5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kylin/diff/93baf4d5

Branch: refs/heads/0.7-staging
Commit: 93baf4d5f336bc10a2023fbd03fcdf2ba1e64a52
Parents: 9fdbc9c
Author: Li, Yang <yangli9@ebay.com>
Authored: Mon Aug 24 10:12:50 2015 +0800
Committer: Li, Yang <yangli9@ebay.com>
Committed: Mon Aug 24 10:12:50 2015 +0800

----------------------------------------------------------------------
 .../main/java/org/apache/kylin/job/hadoop/AbstractHadoopJob.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/93baf4d5/job/src/main/java/org/apache/kylin/job/hadoop/AbstractHadoopJob.java
----------------------------------------------------------------------
diff --git a/job/src/main/java/org/apache/kylin/job/hadoop/AbstractHadoopJob.java b/job/src/main/java/org/apache/kylin/job/hadoop/AbstractHadoopJob.java
index f43a57e..f426618 100644
--- a/job/src/main/java/org/apache/kylin/job/hadoop/AbstractHadoopJob.java
+++ b/job/src/main/java/org/apache/kylin/job/hadoop/AbstractHadoopJob.java
@@ -352,7 +352,7 @@ public abstract class AbstractHadoopJob extends Configured implements
Tool {
         System.setProperty(KylinConfig.KYLIN_CONF, metaDir.getAbsolutePath());
         logger.info("The absolute path for meta dir is " + metaDir.getAbsolutePath());
         KylinConfig kylinConfig = KylinConfig.getInstanceFromEnv();
-        kylinConfig.setMetadataUrl(metaDir.getCanonicalPath());
+        kylinConfig.setMetadataUrl(metaDir.getAbsolutePath());
         return kylinConfig;
     }
 


Mime
View raw message