@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.slf4j.Logger |
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.slf4j.Logger LOG
private static final String USAGE
private final Class<? extends HMaster> masterClass
public HMasterCommandLine(Class<? extends HMaster> masterClass)
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–2020 The Apache Software Foundation. All rights reserved.