hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinod Kumar Vavilapalli (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-53) Add protocol to YARN to support GetGroups
Date Thu, 13 Sep 2012 05:18:08 GMT

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

Vinod Kumar Vavilapalli commented on YARN-53:

Apologies for the delay, this one's slipped off my list.

 - By reflecting YARN-1, I meant splitting the patch and track a common JIRA for the common
changes. Sorry, should've been clearer.
 - Regarding my comment about HDFS definitions, see GetUserMappingsProtocolPB, GetUserMappingsProtocolClientSideTranslatorPB,
GetUserMappingsProtocolServerSideTranslatorPB from org.apache.hadoop.hdfs.protocolPB package
in HDFS. The new classes added in your patch are almost the same as these. Even the proto
definition GetUserMappingsProtocol.proto is already there in HDFS. I am suggesting we promote
these classes and the PB definitions from HDFS into common and then use them in YARN.

Does that make sense?

> Add protocol to YARN to support GetGroups
> -----------------------------------------
>                 Key: YARN-53
>                 URL: https://issues.apache.org/jira/browse/YARN-53
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.0.0-alpha
>            Reporter: Alejandro Abdelnur
>            Assignee: Bo Wang
>              Labels: patch
>             Fix For: 2.0.2-alpha
>         Attachments: MAPREDUCE-4268.patch, YARN-53.patch
> This is a regression from Hadoop1, as hadoop mrgroups fails with:
> {code}
> Exception in thread "main" java.lang.UnsupportedOperationException
> 	at org.apache.hadoop.mapred.tools.GetGroups.getProtocolAddress(GetGroups.java:50)
> 	at org.apache.hadoop.tools.GetGroupsBase.getUgmProtocol(GetGroupsBase.java:98)
> 	at org.apache.hadoop.tools.GetGroupsBase.run(GetGroupsBase.java:71)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
> 	at org.apache.hadoop.mapred.tools.GetGroups.main(GetGroups.java:54)
> {code}

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