@InterfaceAudience.Private public class GetGroups extends GetGroupsBase
Constructor and Description |
---|
GetGroups(Configuration conf) |
GetGroups(Configuration conf,
PrintStream out) |
Modifier and Type | Method and Description |
---|---|
protected InetSocketAddress |
getProtocolAddress(Configuration conf)
Must be overridden by subclasses to get the address where the
GetUserMappingsProtocol implementation is running. |
protected GetUserMappingsProtocol |
getUgmProtocol()
Get a client of the
GetUserMappingsProtocol . |
static void |
main(String[] argv) |
void |
setConf(Configuration conf)
Set the configuration to be used by this object.
|
run
getConf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConf
public GetGroups(Configuration conf)
public GetGroups(Configuration conf, PrintStream out)
protected InetSocketAddress getProtocolAddress(Configuration conf) throws IOException
GetGroupsBase
GetUserMappingsProtocol
implementation is running.getProtocolAddress
in class GetGroupsBase
conf
- The configuration to use.IOException
public void setConf(Configuration conf)
Configurable
setConf
in interface Configurable
setConf
in class Configured
protected GetUserMappingsProtocol getUgmProtocol() throws IOException
GetGroupsBase
GetUserMappingsProtocol
.getUgmProtocol
in class GetGroupsBase
GetUserMappingsProtocol
client proxy.IOException
Copyright © 2013 Apache Software Foundation. All rights reserved.