Package org.apache.hadoop.hdfs.tools
Class GetGroups
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.tools.GetGroupsBase
org.apache.hadoop.hdfs.tools.GetGroups
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable,org.apache.hadoop.util.Tool
@Private
public class GetGroups
extends org.apache.hadoop.tools.GetGroupsBase
HDFS implementation of a tool for getting the groups which a given user
belongs to.
-
Constructor Summary
ConstructorsConstructorDescriptionGetGroups(org.apache.hadoop.conf.Configuration conf) GetGroups(org.apache.hadoop.conf.Configuration conf, PrintStream out) -
Method Summary
Modifier and TypeMethodDescriptionprotected InetSocketAddressgetProtocolAddress(org.apache.hadoop.conf.Configuration conf) protected org.apache.hadoop.tools.GetUserMappingsProtocolstatic voidvoidsetConf(org.apache.hadoop.conf.Configuration conf) Methods inherited from class org.apache.hadoop.tools.GetGroupsBase
runMethods inherited from class org.apache.hadoop.conf.Configured
getConfMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.conf.Configurable
getConf
-
Constructor Details
-
GetGroups
public GetGroups(org.apache.hadoop.conf.Configuration conf) -
GetGroups
-
-
Method Details
-
getProtocolAddress
protected InetSocketAddress getProtocolAddress(org.apache.hadoop.conf.Configuration conf) throws IOException - Specified by:
getProtocolAddressin classorg.apache.hadoop.tools.GetGroupsBase- Throws:
IOException
-
setConf
public void setConf(org.apache.hadoop.conf.Configuration conf) - Specified by:
setConfin interfaceorg.apache.hadoop.conf.Configurable- Overrides:
setConfin classorg.apache.hadoop.conf.Configured
-
getUgmProtocol
- Overrides:
getUgmProtocolin classorg.apache.hadoop.tools.GetGroupsBase- Throws:
IOException
-
main
- Throws:
Exception
-