Class GetGroupsBase

java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.tools.GetGroupsBase
All Implemented Interfaces:
Configurable, Tool

public abstract class GetGroupsBase extends Configured implements Tool
Base class for the HDFS and MR implementations of tools which fetch and display the groups that users belong to.
  • Constructor Details

    • GetGroupsBase

      protected GetGroupsBase(Configuration conf)
      Create an instance of this tool using the given configuration.
      Parameters:
      conf - configuration.
    • GetGroupsBase

      protected GetGroupsBase(Configuration conf, PrintStream out)
      Used exclusively for testing.
      Parameters:
      conf - The configuration to use.
      out - The PrintStream to write to, instead of System.out
  • Method Details