You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Lei (Eddy) Xu (JIRA)" <ji...@apache.org> on 2017/04/04 20:55:41 UTC

[jira] [Updated] (SENTRY-1644) Partition ACLs disappear after renaming Hive table with partitions

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

Lei (Eddy) Xu updated SENTRY-1644:
----------------------------------
    Attachment: SENTRY-1644.004-master.patch

Addressed comments on review board.

> Partition ACLs disappear after renaming Hive table with partitions
> ------------------------------------------------------------------
>
>                 Key: SENTRY-1644
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1644
>             Project: Sentry
>          Issue Type: Bug
>          Components: Hdfs Plugin
>    Affects Versions: 1.7.0, 1.8.0, sentry-ha-redesign
>            Reporter: Hao Hao
>            Assignee: Lei (Eddy) Xu
>         Attachments: SENTRY-1644.001-sentry-ha-redesign.patch, SENTRY-1644.002-master.patch, SENTRY-1644.003-master.patch, SENTRY-1644.004-master.patch
>
>
> After rename Hive table with partitions, ACLs on the partition paths disappear.
> It can be reproducible by:
> * Create a table with partitions.
> * Rename the table.
> * The granted ACLs on the partitions disappear.
> Furthermore, in TestHMSPaths.testRenameDiffPaths add the following checking:
> {noformat}
>  String partition2Path = "/user/hive/warehouse/db1.db/table2/part1";
>  Assert.assertEquals(expectedSet, paths.findAuthzObject(HMSPaths.getPathElements(partition2Path).toArray(new String[0])));
> {noformat}
> It will evaluate to false, which means after rename, the path of the table partition disappear.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)