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

Hudson commented on HADOOP-10401:
---------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #5605 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/5605/])
HADOOP-10401. ShellBasedUnixGroupsMapping#getGroups does not always return 
primary group first (ajisakaa via cmccabe) (cmccabe: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1594714)
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/ShellBasedUnixGroupsMapping.java
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/Shell.java


> ShellBasedUnixGroupsMapping#getGroups does not always return primary group 
> first
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-10401
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10401
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 2.4.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Akira AJISAKA
>             Fix For: 2.5.0
>
>         Attachments: HADOOP-10401.2.patch, HADOOP-10401.patch
>
>
> {{ShellBasedUnixGroupsMapping#getGroups}} does not always return the primary 
> group first.  It should do this so that clients who expect it don't get the 
> wrong result.  We should also document that the primary group is returned 
> first in the API.  Note that {{JniBasedUnixGroupsMapping}} does return the 
> primary group first.



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

Reply via email to