hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bo Wang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8805) Move protocol buffer implementation of GetUserMappingProtocol from HDFS to Common
Date Wed, 19 Sep 2012 19:00:08 GMT

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

Bo Wang commented on HADOOP-8805:

bq. Did you test the specific getGroups command? Or just basic operations? I'm skeptical...

I tested by start a namenode (via bin/hdfs namenode) then execute (bin/hdfs groups <username>)
using client from the other version.

If a non-exist username is used, a ExitCodeException is thrown and logged in both new/old
versions. The stack trace shows that new / old protocbufs are used.

>From new namenode log:
        at org.apache.hadoop.security.Groups.getGroups(Groups.java:89)
	at org.apache.hadoop.security.UserGroupInformation.getGroupNames(UserGroupInformation.java:1251)
	at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.getGroupsForUser(NameNodeRpcServer.java:988)
	*at org.apache.hadoop.tools.impl.pb.service.GetUserMappingsProtocolPBServiceImpl.getGroupsForUser(GetUserMappingsProtocolPBServiceImpl.java:46)*

>From old namenode log:
	at org.apache.hadoop.security.Groups.getGroups(Groups.java:89)
	at org.apache.hadoop.security.UserGroupInformation.getGroupNames(UserGroupInformation.java:1216)
	at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.getGroupsForUser(NameNodeRpcServer.java:971)
	*at org.apache.hadoop.hdfs.protocolPB.GetUserMappingsProtocolServerSideTranslatorPB.getGroupsForUser(GetUserMappingsProtocolServerSideTranslatorPB.java:46)*

> Move protocol buffer implementation of GetUserMappingProtocol from HDFS to Common
> ---------------------------------------------------------------------------------
>                 Key: HADOOP-8805
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8805
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Bo Wang
>            Assignee: Bo Wang
>             Fix For: 2.0.3-alpha
>         Attachments: HADOOP-8805.patch, HADOOP-8805-v2.patch, HADOOP-8805-v3.patch
> org.apache.hadoop.tools.GetUserMappingProtocol is used in both HDFS and YARN. We should
move the protocol buffer implementation from HDFS to Common so that it can also be used by

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message