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

Hive permission inheritance throws exception S3

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: Security

      Description

      If Hive permission inheritance is turned on, ACL's are inherited from parent directories. However, on s3 file system, ACL is not supported.

      Hence Hive throws the following exception if hadoop is configured with "dfs.namenode.acls.enabled":

      FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:java.lang.UnsupportedOperationException: NativeS3FileSystem doesn't support getAclStatus)
      

      Workaround is to set this flag to false.

        Attachments

        1. HIVE-8791.patch
          4 kB
          Szehon Ho
        2. HIVE-8791.2.patch
          3 kB
          Szehon Ho
        3. HIVE-8791.3.patch
          4 kB
          Szehon Ho
        4. HIVE-8791.4.patch
          4 kB
          Brock Noland
        5. HIVE-8791.4.patch
          4 kB
          Szehon Ho

          Issue Links

            Activity

              People

              • Assignee:
                szehon Szehon Ho
                Reporter:
                szehon Szehon Ho
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: