[
https://issues.apache.org/jira/browse/HADOOP-10401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Colin Patrick McCabe updated HADOOP-10401:
------------------------------------------
Resolution: Fixed
Fix Version/s: 2.5.0
Target Version/s: 2.5.0
Status: Resolved (was: Patch Available)
> 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)