Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-26560

Hdfs directory's ACLs are not checked when hive drops a table or a partition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.1.2
    • None
    • Metastore
    • None

    Description

      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.

      Attachments

        1. p1.patch
          4 kB
          zhangda

        Activity

          People

            Unassigned Unassigned
            zhangda zhangda
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: