Repository: kylin
Updated Branches:
  refs/heads/master 7b2b9147d -> 80e5df2b1


minor, fix kylinconfig overriden on create htable


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

Branch: refs/heads/master
Commit: 80e5df2b1e71625f646e993938f424e9723ac4bb
Parents: 7b2b914
Author: lidongsjtu <lid...@apache.org>
Authored: Fri May 6 11:16:03 2016 +0800
Committer: lidongsjtu <lid...@apache.org>
Committed: Fri May 6 11:16:03 2016 +0800

----------------------------------------------------------------------
 .../java/org/apache/kylin/storage/hbase/steps/CubeHTableUtil.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/80e5df2b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/CubeHTableUtil.java
----------------------------------------------------------------------
diff --git 
a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/CubeHTableUtil.java
 
b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/CubeHTableUtil.java
index e1821ee..14f47ef 100644
--- 
a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/CubeHTableUtil.java
+++ 
b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/CubeHTableUtil.java
@@ -55,7 +55,7 @@ public class CubeHTableUtil {
         String tableName = cubeSegment.getStorageLocationIdentifier();
         CubeInstance cubeInstance = cubeSegment.getCubeInstance();
         CubeDesc cubeDesc = cubeInstance.getDescriptor();
-        KylinConfig kylinConfig = KylinConfig.getInstanceFromEnv();
+        KylinConfig kylinConfig = cubeDesc.getConfig();
 
         HTableDescriptor tableDesc = new 
HTableDescriptor(TableName.valueOf(cubeSegment.getStorageLocationIdentifier()));
         // 
https://hbase.apache.org/apidocs/org/apache/hadoop/hbase/regionserver/ConstantSizeRegionSplitPolicy.html

Reply via email to