@InterfaceAudience.Private public abstract class ServerCommandLine extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool
| Modifier and Type | Field and Description | 
|---|---|
| private static Set<String> | DEFAULT_SKIP_WORDS | 
| private static org.slf4j.Logger | LOG | 
| Constructor and Description | 
|---|
| ServerCommandLine() | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
| private static void | logHBaseConfigs(org.apache.hadoop.conf.Configuration conf)Print into log some of the important hbase attributes. | 
| 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. | 
private static final org.slf4j.Logger LOG
private static final Set<String> DEFAULT_SKIP_WORDS
public ServerCommandLine()
protected abstract String getUsage()
protected void usage(String message)
message - if not null, print this message before the usage info.public static void logJVMInfo()
private static void logHBaseConfigs(org.apache.hadoop.conf.Configuration conf)
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.
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.