java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.hdfs.server.diskbalancer.command.Command
org.apache.hadoop.hdfs.server.diskbalancer.command.HelpCommand
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.hadoop.conf.Configurable

public class HelpCommand extends Command
Help Command prints out detailed help about each command.
  • Constructor Details

    • HelpCommand

      public HelpCommand(org.apache.hadoop.conf.Configuration conf)
      Constructs a help command.
      Parameters:
      conf - - config
  • Method Details

    • execute

      public void execute(org.apache.commons.cli.CommandLine cmd) throws Exception
      Executes the Client Calls.
      Specified by:
      execute in class Command
      Parameters:
      cmd - - CommandLine
      Throws:
      Exception
    • printHelp

      public void printHelp()
      Gets extended help for this command.
      Specified by:
      printHelp in class Command