kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From luke...@apache.org
Subject [11/50] [abbrv] incubator-kylin git commit: minor, use absolute path instead of canonial path in AbstractHadoopJob.loadKylinPropsAndMetadata() for consistency
Date Sun, 06 Sep 2015 07:59:35 GMT
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/b50b07be
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kylin/tree/b50b07be
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kylin/diff/b50b07be

Branch: refs/heads/0.7
Commit: b50b07becdf119d5d618ea6e866dce59d60acdf3
Parents: 9cf5ca5
Author: Li, Yang <yangli9@ebay.com>
Authored: Mon Aug 24 10:12:50 2015 +0800
Committer: Luke Han <lukehan@apache.org>
Committed: Sun Sep 6 14:37:57 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/b50b07be/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