You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "zhangda (Jira)" <ji...@apache.org> on 2022/09/26 04:06:00 UTC

[jira] [Created] (HIVE-26560) Hdfs directory's ACLs are not checked when hive drops a table or a partition

zhangda created HIVE-26560:
------------------------------

             Summary: Hdfs directory's ACLs are not checked when hive drops a table or a partition
                 Key: HIVE-26560
                 URL: https://issues.apache.org/jira/browse/HIVE-26560
             Project: Hive
          Issue Type: Bug
          Components: Metastore
    Affects Versions: 3.1.2
            Reporter: zhangda
         Attachments: p1.patch

When hive tries to drop a table or a partition, it checks the write permission on the hdfs directory. The current logic checks user's and group's permission, but misses the Acl.  However there's a case where write permission is granted to the user thru' Acls. So in that case, the table/partition drop command will fail.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)