[
https://issues.apache.org/jira/browse/HADOOP-10401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13939627#comment-13939627
]
Chris Nauroth commented on HADOOP-10401:
----------------------------------------
I suggest && instead of ; for separating commands. We wouldn't want to mask a
failure in the first command if the second command is successful. (That kind
of failure should be a really really rare thing of course, but let's try to
catch it just in case.)
> 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)