Package org.apache.hadoop.hbase.master
Class HMasterCommandLine
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.hbase.util.ServerCommandLine
org.apache.hadoop.hbase.master.HMasterCommandLine
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
,org.apache.hadoop.util.Tool
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
closeAllRegionServerThreads
(List<JVMClusterUtil.RegionServerThread> regionservers) protected String
getUsage()
Implementing subclasses should return a usage string to print out.int
private int
private int
private void
waitOnMasterThreads
(LocalHBaseCluster cluster) Methods inherited from class org.apache.hadoop.hbase.util.ServerCommandLine
doMain, logJVMInfo, logProcessInfo, 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
-
Field Details
-
LOG
-
USAGE
- See Also:
-
masterClass
-
-
Constructor Details
-
HMasterCommandLine
-
-
Method Details
-
getUsage
Description copied from class:ServerCommandLine
Implementing subclasses should return a usage string to print out.- Specified by:
getUsage
in classServerCommandLine
-
run
- Throws:
Exception
-
startMaster
-
stopMaster
-
waitOnMasterThreads
- Throws:
InterruptedException
-
closeAllRegionServerThreads
private static void closeAllRegionServerThreads(List<JVMClusterUtil.RegionServerThread> regionservers)
-