[ https://issues.apache.org/jira/browse/HADOOP-12581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15011553#comment-15011553 ]
Alan Burlison commented on HADOOP-12581: ---------------------------------------- Hmm, interesting. On Solaris if the group name can't be resolved then the numeric id is output and 0 is returned as normal. We also have a /usr/xpg4/bin/id command, which is strictly POSIX-conformant, but I don't think the differences matter for this particular usage - they are to do with the behaviour of -a and supplemental groups. > 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)