You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by nj...@apache.org on 2016/04/18 08:35:32 UTC
[50/50] kylin git commit: KYLIN-1458: run CubeMigrationCheckCLI under
the condition with parameter 'realExecute' set to true
KYLIN-1458: run CubeMigrationCheckCLI under the condition with parameter 'realExecute' set to true
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/08b2051f
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/08b2051f
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/08b2051f
Branch: refs/heads/1.4-rc
Commit: 08b2051f8596fb0ddb2aa17538470d71118a49b0
Parents: dc783d5
Author: yangzhong <ya...@ebay.com>
Authored: Tue Apr 12 14:25:33 2016 +0800
Committer: yangzhong <ya...@ebay.com>
Committed: Mon Apr 18 09:10:45 2016 +0800
----------------------------------------------------------------------
.../org/apache/kylin/storage/hbase/util/CubeMigrationCLI.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kylin/blob/08b2051f/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/util/CubeMigrationCLI.java
----------------------------------------------------------------------
diff --git a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/util/CubeMigrationCLI.java b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/util/CubeMigrationCLI.java
index 53cffe5..ce2b135 100644
--- a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/util/CubeMigrationCLI.java
+++ b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/util/CubeMigrationCLI.java
@@ -140,11 +140,10 @@ public class CubeMigrationCLI {
if (realExecute.equalsIgnoreCase("true")) {
doOpts();
+ checkMigrationSuccess(dstConfig, cubeName, true);
} else {
showOpts();
}
-
- checkMigrationSuccess(dstConfig, cubeName, true);
}
public static void moveCube(String srcCfgUri, String dstCfgUri, String cubeName, String projectName, String copyAcl, String purgeAndDisable, String overwriteIfExists, String realExecute) throws IOException, InterruptedException {