You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2015/12/28 04:42:49 UTC

[jira] [Resolved] (KYLIN-1230) When CubeMigrationCLI copied ACL from one env to another, it may not work

     [ https://issues.apache.org/jira/browse/KYLIN-1230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shaofeng SHI resolved KYLIN-1230.
---------------------------------
       Resolution: Fixed
    Fix Version/s: v2.0

The solution is, when copy cube ACL, for cube's parent (project) ACL info, use the target project's UUID, so that it refers to the new project in the target environment.

> 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
>          Components: Client - CLI
>    Affects Versions: v1.2
>            Reporter: Shaofeng SHI
>            Assignee: Shaofeng SHI
>             Fix For: v2.0, v1.3
>
>
> 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)