hadoop-yarn-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] (YARN-53) Add protocol to YARN to support GetGroups
Date Thu, 06 Sep 2012 22:18:08 GMT

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

Bo Wang commented on YARN-53:

Hi Vinod,

Thanks for looking at the patch. I'd like to clarify the two comments.

- To reflect YARN-1, do you mean move org.apache.hadoop.mapred.tools.GetGroups to org.apache.hadoop.yarn.tools.GetGroups?
  Currently there is no such package in hadoop-yarn-common yet, but I can create one. Actually,
"bin/yarn rmadmin -getGroups" doesn't call to org.apache.hadoop.mapred.tools.GetGroups but
org.apache.hadoop.yarn.server.resourcemanager.tools.RMAdmin. GetGroups can be left there for
backward compatibility or removed directly.

- I am not sure what definitions in HDFS you referred to. Would you mind giving it a bit more


> 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.1.0-alpha
>            Reporter: Alejandro Abdelnur
>            Assignee: Bo Wang
>              Labels: patch
>             Fix For: 2.1.0-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