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

public class ExecuteCommand extends Command
executes a given plan.
  • Constructor Details

    • ExecuteCommand

      public ExecuteCommand(org.apache.hadoop.conf.Configuration conf)
      Constructs ExecuteCommand.
      Parameters:
      conf - - Configuration.
  • 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