Shaofeng SHI created KYLIN-1230:
-----------------------------------
Summary: When CubeMigrationCLI copied ACL from one env to another,
it may not work
Key: KYLIN-1230
URL: https://issues.apache.org/jira/browse/KYLIN-1230
Project: Kylin
Issue Type: Bug
Reporter: Shaofeng SHI
Assignee: Shaofeng SHI
Found an issue when using CubeMigrationCLI to migrate a cube from QA to
production if selecting “copyACL” as true (this is a newly added feature). The
root cause is the project in production has a different uuid as it in QA. The
cube’s ACL refers to its parent by uuid. Then if a cube’s ACL is copied from
QA, it couldn't find the parent, then an error is thrown.
To fix the issue, it should copy the project (if it doesn't exist in the target
env), or give up copy ACL when detecting the project uuid is different (and
remind user to manually update ACL).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)