You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ka...@apache.org on 2017/09/03 09:52:25 UTC
kylin git commit: KYLIN-2838 Should get storageType in
changeHtableHost of CubeMigrationCLI
Repository: kylin
Updated Branches:
refs/heads/master 34596d355 -> 78543d6e9
KYLIN-2838 Should get storageType in changeHtableHost of CubeMigrationCLI
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/78543d6e
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/78543d6e
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/78543d6e
Branch: refs/heads/master
Commit: 78543d6e970cfb9dc85bcc48775681afcdb1c0e9
Parents: 34596d3
Author: kangkaisen <ka...@meituan.com>
Authored: Sun Sep 3 17:52:18 2017 +0800
Committer: kangkaisen <ka...@meituan.com>
Committed: Sun Sep 3 17:53:37 2017 +0800
----------------------------------------------------------------------
tool/src/main/java/org/apache/kylin/tool/CubeMigrationCLI.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kylin/blob/78543d6e/tool/src/main/java/org/apache/kylin/tool/CubeMigrationCLI.java
----------------------------------------------------------------------
diff --git a/tool/src/main/java/org/apache/kylin/tool/CubeMigrationCLI.java b/tool/src/main/java/org/apache/kylin/tool/CubeMigrationCLI.java
index bb308e2..d3865c6 100644
--- a/tool/src/main/java/org/apache/kylin/tool/CubeMigrationCLI.java
+++ b/tool/src/main/java/org/apache/kylin/tool/CubeMigrationCLI.java
@@ -201,7 +201,7 @@ public class CubeMigrationCLI {
}
protected void changeHtableHost(CubeInstance cube) {
- if (cube.getDescriptor().getEngineType() != IStorageAware.ID_SHARDED_HBASE)
+ if (cube.getDescriptor().getStorageType() != IStorageAware.ID_SHARDED_HBASE)
return;
for (CubeSegment segment : cube.getSegments()) {
operations