public abstract class ServerCommandLine
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
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.
|
static void |
logJVMInfo()
Log information about the currently running JVM.
|
protected void |
usage(String message)
Print usage information for this command line.
|
protected abstract String getUsage()
protected void usage(String message)
message
- if not null, print this message before the usage info.public static void logJVMInfo()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.