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

Warehouse table subdirectories should inherit the group permissions of the warehouse parent directory

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0
    • Component/s: Metastore
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When the Hive Metastore creates a subdirectory in the Hive warehouse for
      a new table it does so with the default HDFS permissions. Since the default
      dfs.umask value is 022, this means that the new subdirectory will not inherit the
      group write permissions of the hive warehouse directory.

      We should make the umask used by Warehouse.mkdirs() configurable, and set
      it to use a default value of 002.

        Attachments

        1. HIVE-2504-1.patch
          8 kB
          Rohini Palaniswamy
        2. HIVE-2504.patch
          2 kB
          Chinna Rao Lalam
        3. HIVE-2504.patch
          7 kB
          Rohini Palaniswamy

          Issue Links

            Activity

              People

              • Assignee:
                chinnalalam Chinna Rao Lalam
                Reporter:
                cwsteinbach Carl Steinbach
              • Votes:
                2 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: