You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2014/03/19 23:38:46 UTC

[jira] [Resolved] (HDFS-5117) Allow the owner of an HDFS path to be a group

     [ https://issues.apache.org/jira/browse/HDFS-5117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Nauroth resolved HDFS-5117.
---------------------------------

    Resolution: Duplicate

I'm resolving this as a duplicate of HDFS-4685.  With the release of 2.4.0, this requirement can be implemented using HDFS ACLs to specify multiple named groups and named users with specific permissions.

> Allow the owner of an HDFS path to be a group
> ---------------------------------------------
>
>                 Key: HDFS-5117
>                 URL: https://issues.apache.org/jira/browse/HDFS-5117
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>          Components: hdfs-client
>            Reporter: Ryan Hennig
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> 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



--
This message was sent by Atlassian JIRA
(v6.2#6252)