You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2017/04/04 22:37:41 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15955990#comment-15955990 ]
Hadoop QA commented on SENTRY-1644:
-----------------------------------
Here are the results of testing the latest attachment
https://issues.apache.org/jira/secure/attachment/12861954/SENTRY-1644.004-master.patch against master.
{color:green}Overall:{color} +1 all checks pass
{color:green}SUCCESS:{color} all tests passed
Console output: https://builds.apache.org/job/PreCommit-SENTRY-Build/2477/console
This message is automatically generated.
> 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)