You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by sh...@apache.org on 2015/12/22 09:44:13 UTC
[15/50] kylin git commit: KYLIN-1157 copy ACL when migrate cube -
small fix
KYLIN-1157 copy ACL when migrate cube - small fix
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/9a65df19
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/9a65df19
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/9a65df19
Branch: refs/heads/master
Commit: 9a65df1940cc1fea05ef146da275d07919e25fad
Parents: 7e7edff
Author: shaofengshi <sh...@apache.org>
Authored: Tue Nov 24 13:39:13 2015 +0800
Committer: shaofengshi <sh...@apache.org>
Committed: Tue Nov 24 13:41:01 2015 +0800
----------------------------------------------------------------------
.../main/java/org/apache/kylin/job/tools/CubeMigrationCLI.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kylin/blob/9a65df19/job/src/main/java/org/apache/kylin/job/tools/CubeMigrationCLI.java
----------------------------------------------------------------------
diff --git a/job/src/main/java/org/apache/kylin/job/tools/CubeMigrationCLI.java b/job/src/main/java/org/apache/kylin/job/tools/CubeMigrationCLI.java
index e3f7c11..ca756d1 100644
--- a/job/src/main/java/org/apache/kylin/job/tools/CubeMigrationCLI.java
+++ b/job/src/main/java/org/apache/kylin/job/tools/CubeMigrationCLI.java
@@ -76,7 +76,7 @@ public class CubeMigrationCLI {
public static void main(String[] args) throws IOException, InterruptedException {
- if (args.length != 6) {
+ if (args.length != 7) {
usage();
System.exit(1);
}
@@ -123,7 +123,7 @@ public class CubeMigrationCLI {
renameFoldersInHdfs(cube);
changeHtableHost(cube);
addCubeIntoProject(cubeName, projectName);
- if (Boolean.valueOf(copyAcl).booleanValue() == true) {
+ if (Boolean.parseBoolean(copyAcl) == true) {
copyACL(cube);
}