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, 14 Apr 2011 00:03:05 GMT

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

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

Thanks a lot for the thoughtful comment, Allen.

bq. Should this option actually be -id instead of -groups? The reason I ask is because groups(1)
is a BSD command and as folks have discovered fairly non-standardized in a variety of ways.
id(1)'s params have a POSIX definition. It also allows us to add user/uid mapping capability
(later?) in a POSIX-compatible way.

I considered this as well, but concluded that it should be "-groups" for the following reasons:

# Given that Hadoop doesn't presently have any notion of uids/gids, many of id(1)'s options
don't make any sense.
# Given that Hadoop doesn't presently have any notion of uids/gids, Hadoop can't really mimic
the output of id(1).
# There's no reason that, if Hadoop were to one day add uids/gids, both options couldn't coexist,
as both id(1) and groups(1) do on most OSes.
# I _think_ most people tend to use groups(1) when determining a user's groups. I have no
data to support this, it's just the impression that I'm under. :)

> 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, hadoop-7214.2.txt, hadoop-7214.3.txt,
hadoop-7214.4.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