|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.conf.Configured
org.apache.hadoop.hbase.util.ServerCommandLine
@InterfaceAudience.Private public abstract class ServerCommandLine
Base class for command lines that start up various HBase daemons.
| Constructor Summary | |
|---|---|
ServerCommandLine()
|
|
| Method Summary | |
|---|---|
void |
doMain(String[] args)
Parse and run the given command line. |
protected abstract String |
getUsage()
Implementing subclasses should return a usage string to print out. |
static void |
logJVMInfo()
Log information about the currently running JVM. |
static void |
logProcessInfo(org.apache.hadoop.conf.Configuration conf)
Logs information about the currently running JVM process including the environment variables. |
protected void |
usage(String message)
Print usage information for this command line. |
| 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.util.Tool |
|---|
run |
| Methods inherited from interface org.apache.hadoop.conf.Configurable |
|---|
getConf, setConf |
| Constructor Detail |
|---|
public ServerCommandLine()
| Method Detail |
|---|
protected abstract String getUsage()
protected void usage(String message)
message - if not null, print this message before the usage info.public static void logJVMInfo()
public static void logProcessInfo(org.apache.hadoop.conf.Configuration conf)
"hbase.envvars.logging.disabled" to "true".
If enabled, you can also exclude environment variables containing
certain substrings by setting "hbase.envvars.logging.skipwords"
to comma separated list of such substrings.
public void doMain(String[] args)
run().
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||