Class DtUtilShell

All Implemented Interfaces:
Configurable, Tool

public class DtUtilShell extends CommandShell
DtUtilShell is a set of command line token file management operations.
  • Field Details

  • Constructor Details

    • DtUtilShell

      public DtUtilShell()
  • Method Details

    • init

      protected int init(String[] args) throws Exception
      Parse the command line arguments and initialize subcommand. Also will attempt to perform Kerberos login if both -principal and -keytab flags are passed in args array.
      Specified by:
      init in class CommandShell
      Parameters:
      args - args.
      Returns:
      0 if the argument(s) were recognized, 1 otherwise
      Throws:
      Exception - Exception.
    • getCommandUsage

      public String getCommandUsage()
      Description copied from class: CommandShell
      Return usage string for the command including any summary of subcommands.
      Specified by:
      getCommandUsage in class CommandShell
      Returns:
      command usage.
    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception