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

Alter rename partition Perm inheritance and general partition/table group inheritance

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.14.0
    • None
    • None

    Description

      Found this issue while looking at the method mentioned by HIVE-6648.

      'alter table .. partition .. rename to ..' and other commands calling Warehouse.mkdirs() doesn't inherit permission on the partition directories and consequently the data, when "hive.warehouse.subdir.inherit.perms" is set.

      Also, in these scenarios of directory creation, group is not being inherited. Data files are already inheriting group by HIVE-3756.

      Attachments

        1. HIVE-6891.4.patch
          22 kB
          Szehon Ho
        2. HIVE-6891.3.patch
          22 kB
          Szehon Ho
        3. HIVE-6891.2.patch
          21 kB
          Szehon Ho
        4. HIVE-6891.patch
          21 kB
          Szehon Ho

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: