You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Akira AJISAKA (JIRA)" <ji...@apache.org> on 2014/03/18 03:35:42 UTC
[jira] [Updated] (HADOOP-10401)
ShellBasedUnixGroupsMapping#getGroups does not always return primary group
first
[ https://issues.apache.org/jira/browse/HADOOP-10401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Akira AJISAKA updated HADOOP-10401:
-----------------------------------
Attachment: HADOOP-10401.patch
Attaching a sample patch for unix.
> 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)