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

Tsz Wo (Nicholas), SZE commented on HADOOP-2229:
------------------------------------------------

In UnixUserGroupInformation.equals(...), it is better to do set comparison for 
the group array since we don't care ordering.  For example,
{code}
String [] a = ...
String [] b = ...
return a == b || new TreeSet<String>(Arrays.asList(a)).equals(new 
TreeSet<String>(Arrays.asList(b)));
{code}

> Provide a simple login implementation
> -------------------------------------
>
>                 Key: HADOOP-2229
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2229
>             Project: Hadoop
>          Issue Type: New Feature
>    Affects Versions: 0.15.0
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Hairong Kuang
>             Fix For: 0.16.0
>
>         Attachments: ugi.patch, ugi1.patch, ugi2.patch
>
>
> Give a simple implementation of HADOOP-1701.    Hadoop clients are assumed to 
> be started within a Unix-like network which provides user and group 
> management.  This implementation read user information from the OS and send 
> them to the NameNode in plaintexts through RPC (see also HADOOP-2184).  
> NameNode trusts all information given and uses them for permission checking.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to