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/2622-2764 Commit: 78543d6e970cfb9dc85bcc48775681afcdb1c0e9 Parents: 34596d3 Author: kangkaisen <kangkai...@meituan.com> Authored: Sun Sep 3 17:52:18 2017 +0800 Committer: kangkaisen <kangkai...@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