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

public class QueryCommand extends Command
Gets the current status of disk balancer command.
  • Constructor Details

    • QueryCommand

      public QueryCommand(org.apache.hadoop.conf.Configuration conf)
      Constructs QueryCommand.
      Parameters:
      conf - - Configuration.
    • QueryCommand

      public QueryCommand(org.apache.hadoop.conf.Configuration conf, PrintStream ps)
  • 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