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

"LOAD DATA" does not honor permission inheritence

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.12.0
    • Component/s: Authorization, Security
    • Labels:
      None

      Description

      When a "LOAD DATA" operation is performed the resulting data in hdfs for the table does not maintain permission inheritance. This remains true even with the "hive.warehouse.subdir.inherit.perms" set to true.

      The issue is easily reproducible by creating a table and loading some data into it. After the load is complete just do a "dfs -ls -R" on the warehouse directory and you will see that the inheritance of permissions worked for the table directory but not for the data.

        Attachments

        1. HIVE-3756.patch
          6 kB
          Chaoyu Tang
        2. HIVE-3756_1.patch
          5 kB
          Chaoyu Tang
        3. HIVE-3756_2.patch
          7 kB
          Chaoyu Tang

          Issue Links

            Activity

              People

              • Assignee:
                ctang.ma Chaoyu Tang
                Reporter:
                johndee Johndee Burks
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: