public class RESTApiClusterManager
extends Configured
| Modifier and Type | Class and Description |
|---|---|
static class |
org.apache.hadoop.hbase.ClusterManager.ServiceType
Type of the service daemon
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
isRunning(org.apache.hadoop.hbase.ClusterManager.ServiceType service,
java.lang.String hostname,
int port)
Returns whether the service is running on the remote host.
|
void |
kill(org.apache.hadoop.hbase.ClusterManager.ServiceType service,
java.lang.String hostname,
int port)
Kills the service running on the given host
|
void |
restart(org.apache.hadoop.hbase.ClusterManager.ServiceType service,
java.lang.String hostname,
int port)
Restart the service on the given host
|
void |
resume(org.apache.hadoop.hbase.ClusterManager.ServiceType service,
java.lang.String hostname,
int port)
Resumes the services running on the given host
|
void |
setConf(Configuration conf) |
void |
start(org.apache.hadoop.hbase.ClusterManager.ServiceType service,
java.lang.String hostname,
int port)
Start the service on the given host
|
void |
stop(org.apache.hadoop.hbase.ClusterManager.ServiceType service,
java.lang.String hostname,
int port)
Stop the service on the given host
|
void |
suspend(org.apache.hadoop.hbase.ClusterManager.ServiceType service,
java.lang.String hostname,
int port)
Suspends the service running on the given host
|
public void setConf(Configuration conf)
public void start(org.apache.hadoop.hbase.ClusterManager.ServiceType service,
java.lang.String hostname,
int port)
throws java.io.IOException
java.io.IOExceptionpublic void stop(org.apache.hadoop.hbase.ClusterManager.ServiceType service,
java.lang.String hostname,
int port)
throws java.io.IOException
java.io.IOExceptionpublic void restart(org.apache.hadoop.hbase.ClusterManager.ServiceType service,
java.lang.String hostname,
int port)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String isRunning(org.apache.hadoop.hbase.ClusterManager.ServiceType service,
java.lang.String hostname,
int port)
throws java.io.IOException
java.io.IOExceptionpublic void kill(org.apache.hadoop.hbase.ClusterManager.ServiceType service,
java.lang.String hostname,
int port)
throws java.io.IOException
java.io.IOExceptionpublic void suspend(org.apache.hadoop.hbase.ClusterManager.ServiceType service,
java.lang.String hostname,
int port)
throws java.io.IOException
java.io.IOExceptionpublic void resume(org.apache.hadoop.hbase.ClusterManager.ServiceType service,
java.lang.String hostname,
int port)
throws java.io.IOException
java.io.IOException