hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4236) Regression: HDFS-4171 puts artificial limit on username length
Date Sat, 08 Dec 2012 13:09:24 GMT

    [ https://issues.apache.org/jira/browse/HDFS-4236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13527129#comment-13527129
] 

Hudson commented on HDFS-4236:
------------------------------

Integrated in Hadoop-Hdfs-trunk #1248 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1248/])
    HDFS-4236. Remove artificial limit on username length introduced in HDFS-4171. Contributed
by Alejandro Abdelnur. (Revision 1418356)

     Result = FAILURE
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1418356
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/lib/wsrs/UserProvider.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/test/java/org/apache/hadoop/lib/wsrs/TestUserProvider.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/UserParam.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/resources/TestParam.java

                
> Regression: HDFS-4171 puts artificial limit on username length
> --------------------------------------------------------------
>
>                 Key: HDFS-4236
>                 URL: https://issues.apache.org/jira/browse/HDFS-4236
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.0.3-alpha
>            Reporter: Allen Wittenauer
>            Assignee: Alejandro Abdelnur
>            Priority: Blocker
>              Labels: regression
>             Fix For: 2.0.3-alpha
>
>         Attachments: HDFS-4171.patch
>
>
> HDFS-4171 made the invalid assumption that there is a common limit on user names at the
UNIX level.  Almost all modern systems, when running under a 64-bit kernel, use a pointer
instead of a char array in the passwd struct.  This makes usernames essentially unlimited.
> Additionally, IIRC, the only places where HDFS and the OS interact where the username
is touched is during group lookup.
> This limit is artificial and should be removed.  There is a very high risk that we will
break users, especially service accounts used for automated processes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message