org.apache.hadoop.hbase.regionserver
Class HRegionServerCommandLine

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by org.apache.hadoop.hbase.util.ServerCommandLine
          extended by org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool

public class HRegionServerCommandLine
extends ServerCommandLine

Class responsible for parsing the command line and starting the RegionServer.


Constructor Summary
HRegionServerCommandLine(Class<? extends HRegionServer> clazz)
           
 
Method Summary
protected  String getUsage()
          Implementing subclasses should return a usage string to print out.
 int run(String[] args)
           
 
Methods inherited from class org.apache.hadoop.hbase.util.ServerCommandLine
doMain, logJVMInfo, usage
 
Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
 

Constructor Detail

HRegionServerCommandLine

public HRegionServerCommandLine(Class<? extends HRegionServer> clazz)
Method Detail

getUsage

protected String getUsage()
Description copied from class: ServerCommandLine
Implementing subclasses should return a usage string to print out.

Specified by:
getUsage in class ServerCommandLine

run

public int run(String[] args)
        throws Exception
Throws:
Exception


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.