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

Hive permission inheritance throws exception S3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • 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.4.patch
          4 kB
          Szehon Ho
        2. HIVE-8791.4.patch
          4 kB
          Brock Noland
        3. HIVE-8791.3.patch
          4 kB
          Szehon Ho
        4. HIVE-8791.2.patch
          3 kB
          Szehon Ho
        5. HIVE-8791.patch
          4 kB
          Szehon Ho

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: