| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
LOG |
| Constructor and Description |
|---|
Main()
Constructor for use from
ToolRunner. |
Main(String[] argv,
org.apache.hadoop.conf.Configuration conf)
Constructor for use as
Runnable. |
| Modifier and Type | Method and Description |
|---|---|
void |
awaitRunning()
Calling thread waits until the server is running.
|
void |
awaitRunning(long timeout,
TimeUnit unit)
Calling thread waits until the server is running.
|
int |
getPort() |
int |
getRetCode() |
Throwable |
getThrowable() |
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.
|
static void |
main(String[] argv) |
void |
run() |
int |
run(String[] args) |
public static void logJVMInfo()
public static void logProcessInfo(org.apache.hadoop.conf.Configuration conf)
"phoenix.envvars.logging.disabled" to "true".
If enabled, you can also exclude environment variables containing
certain substrings by setting "phoenix.envvars.logging.skipwords"
to comma separated list of such substrings.
public int getPort()
-1 if the server is not running.public int getRetCode()
Tool.public Throwable getThrowable()
public void awaitRunning()
throws InterruptedException
InterruptedExceptionpublic void awaitRunning(long timeout,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionpublic int run(String[] args) throws Exception
run in interface org.apache.hadoop.util.ToolExceptionCopyright © 2016 Apache Software Foundation. All Rights Reserved.