[
https://issues.apache.org/jira/browse/HADOOP-10401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13939645#comment-13939645
]
Akira AJISAKA commented on HADOOP-10401:
----------------------------------------
Thanks for the comments, Colin, Chris. I'll update the patch.
> 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
> Attachments: 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)