org.apache.hadoop.mapred.tools
Class GetGroups
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.tools.GetGroupsBase
org.apache.hadoop.mapred.tools.GetGroups
- All Implemented Interfaces:
- Configurable, Tool
public class GetGroups
- extends GetGroupsBase
MR implementation of a tool for getting the groups which a given user
belongs to.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getProtocolAddress
protected InetSocketAddress getProtocolAddress(Configuration conf)
throws IOException
- Description copied from class:
GetGroupsBase
- Must be overridden by subclasses to get the address where the
GetUserMappingsProtocol
implementation is running.
- Specified by:
getProtocolAddress
in class GetGroupsBase
- Parameters:
conf
- The configuration to use.
- Returns:
- The address where the service is listening.
- Throws:
IOException
main
public static void main(String[] argv)
throws Exception
- Throws:
Exception
Copyright © 2009 The Apache Software Foundation