hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-3624) fuse_dfs: improve user and group translation
Date Tue, 10 Jul 2012 05:55:33 GMT
Colin Patrick McCabe created HDFS-3624:
------------------------------------------

             Summary: fuse_dfs: improve user and group translation
                 Key: HDFS-3624
                 URL: https://issues.apache.org/jira/browse/HDFS-3624
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: contrib/fuse-dfs
    Affects Versions: 2.0.1-alpha
            Reporter: Colin Patrick McCabe
            Assignee: Colin Patrick McCabe
            Priority: Minor


In fuse_dfs, we should translate HDFS unknown user names to the UNIX UID or GID for 'nobody'
or 'nogroup' by default.  This should also be configurable for systems that want to use a
different UID for this purpose.  (Currently we hard code this as UID 99).

Similarly, 'superuser' should be translated to 'root', and this translation should also be
made configurable.

fuse_dfs should not do its own permission checks, but instead rely on the Java code to do
this.  Trying to use the translated UIDs and GIDs for permission checking (which is what FUSE
does when you enable default_permissions) leads to problems.

Finally, the HDFS user name to UID mapping should be cached for a short amount of time, rather
than queried multiple times during every operation.  It changes extremely infrequently.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message