@InterfaceAudience.Private public class HMasterCommandLine extends ServerCommandLine
Modifier and Type | Class and Description |
---|---|
static class |
HMasterCommandLine.LocalHMaster |
Modifier and Type | Field and Description |
---|---|
private static org.apache.commons.logging.Log |
LOG |
private Class<? extends HMaster> |
masterClass |
private static String |
USAGE |
Constructor and Description |
---|
HMasterCommandLine(Class<? extends HMaster> masterClass) |
Modifier and Type | Method and Description |
---|---|
private static void |
closeAllRegionServerThreads(List<JVMClusterUtil.RegionServerThread> regionservers) |
protected String |
getUsage()
Implementing subclasses should return a usage string to print out.
|
int |
run(String[] args) |
private int |
startMaster() |
private int |
stopMaster() |
private void |
waitOnMasterThreads(LocalHBaseCluster cluster) |
doMain, logJVMInfo, logProcessInfo, usage
private static final org.apache.commons.logging.Log LOG
private static final String USAGE
protected String getUsage()
ServerCommandLine
getUsage
in class ServerCommandLine
private int startMaster()
private int stopMaster()
private void waitOnMasterThreads(LocalHBaseCluster cluster) throws InterruptedException
InterruptedException
private static void closeAllRegionServerThreads(List<JVMClusterUtil.RegionServerThread> regionservers)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.