hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7214) Hadoop /usr/bin/groups equivalent
Date Thu, 07 Apr 2011 23:49:06 GMT

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

Aaron T. Myers commented on HADOOP-7214:
----------------------------------------

bq. I don't think groups is POSIX... which is why it has different output on different platforms.
(Even if it was, POSIX rarely, if ever, defines the output format of those commands).

Even if it's not specified by POSIX, it seems like a good idea to make the output similar
to the groups command which is most-commonly used by users. I did this in the formatting of
the normal output, no reason not to do it in the case of error.

bq. In the case of our groups command, giving a username that isn't the caller's should be
privileged.

Why? On every system I've ever used this hasn't been the case, so I don't see why it should
be the case here.

> Hadoop /usr/bin/groups equivalent
> ---------------------------------
>
>                 Key: HADOOP-7214
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7214
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.23.0
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>         Attachments: hadoop-7214.0.txt, hadoop-7214.1.txt
>
>
> Since user -> groups resolution is done on the NN and JT machines, there should be
a way for users to determine what groups they're a member of from the NN's and JT's perspective.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message