Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5117

Allow the owner of an HDFS path to be a group

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • hdfs-client
    • None

    Description

      At eBay, we have the need to associate some HDFS paths with a set of users with write access, a set of users with read-only access, and neither read or write to others.

      The current model of POSIX-style permissions is nearly sufficient for this, except for the need of multiple writers.

      One easy fix would be to allow the owner of a path to be a group, and then grant owner permissions to all members of that group. I have verified that HDP 1.3 allows you to set the owner of a path to a group without error, but the owner permissions of that group are not given to members of the group.

      I've created a relatively simple fix for this by modifying the "check" method in src/hdfs/org/apache/hadoop/hdfs/server/namenode/FSPermissionChecker.java and I am working on related changes to unit tests etc now.

      • Ryan

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ryanhennig Ryan Hennig
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 48h
                  48h
                  Remaining:
                  Remaining Estimate - 48h
                  48h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified