kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liy...@apache.org
Subject [32/35] kylin git commit: KYLIN-2165 fix UT
Date Sat, 08 Apr 2017 11:56:14 GMT
KYLIN-2165 fix UT


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

Branch: refs/heads/master-hbase0.98
Commit: 93cc5ab6a454ecf99a492fa1eb4161a13bf91247
Parents: 7129ea6
Author: gaodayue <gaodayue@meituan.com>
Authored: Fri Apr 7 12:11:34 2017 +0800
Committer: gaodayue <gaodayue@meituan.com>
Committed: Fri Apr 7 12:11:34 2017 +0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/kylin/source/hive/HiveMRInput.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/93cc5ab6/source-hive/src/main/java/org/apache/kylin/source/hive/HiveMRInput.java
----------------------------------------------------------------------
diff --git a/source-hive/src/main/java/org/apache/kylin/source/hive/HiveMRInput.java b/source-hive/src/main/java/org/apache/kylin/source/hive/HiveMRInput.java
index 0a03461..2f966ab 100644
--- a/source-hive/src/main/java/org/apache/kylin/source/hive/HiveMRInput.java
+++ b/source-hive/src/main/java/org/apache/kylin/source/hive/HiveMRInput.java
@@ -138,7 +138,7 @@ public class HiveMRInput implements IMRInput {
         @Override
         public void addStepPhase1_CreateFlatTable(DefaultChainedExecutable jobFlow) {
             final String cubeName = CubingExecutableUtil.getCubeName(jobFlow.getParams());
-            final KylinConfig kylinConfig = CubeManager.getInstance(conf.getConfig()).getCube(cubeName).getConfig();
+            final KylinConfig kylinConfig = CubeManager.getInstance(KylinConfig.getInstanceFromEnv()).getCube(cubeName).getConfig();
             this.conf = new JobEngineConfig(kylinConfig);
 
             // create flat table first, then count and redistribute


Mime
View raw message