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

Wei-Chiu Chuang commented on HADOOP-12581:
------------------------------------------

Thanks for the quick clarification :)

I only asked this because I did notice the id command behaves slightly 
differently* on Mac than Linux (well, Mac is not POSIX-compliant anyway). So 
there are corner cases unspecified that differ between systems.

* If a user has multiple groups and some of the groups numerical id can not be 
resolved to group names, Linux's id returns error code 1, while Mac's id 
returns error code 0 (See HADOOP-12468 
https://issues.apache.org/jira/browse/HADOOP-12468)

> ShellBasedIdMapping needs suport for Solaris
> --------------------------------------------
>
>                 Key: HADOOP-12581
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12581
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: security
>    Affects Versions: 2.7.1
>         Environment: Solaris
>            Reporter: Alan Burlison
>            Assignee: Alan Burlison
>
> ShellBasedIdMapping only supports Linux and OSX, support for Solaris needs 
> adding.
> From looking at the Linux support in ShellBasedIdMapping, the same sequences 
> of shell commands should work for Solaris as well so all that's probably 
> needed is to change the implementation of checkSupportedPlatform() to treat 
> Linux and Solaris the same way, plus possibly some renaming of other methods 
> to make it more obvious they are not Linux-only.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to