@InterfaceAudience.Private interface ClusterManager extends org.apache.hadoop.conf.Configurable
| Modifier and Type | Interface and Description |
|---|---|
static class |
ClusterManager.ServiceType
Type of the service daemon
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRunning(ClusterManager.ServiceType service,
String hostname,
int port)
Returns whether the service is running on the remote host.
|
void |
kill(ClusterManager.ServiceType service,
String hostname,
int port)
Kills the service running on the given host
|
void |
restart(ClusterManager.ServiceType service,
String hostname,
int port)
Restart the service on the given host
|
void |
resume(ClusterManager.ServiceType service,
String hostname,
int port)
Resumes the services running on the given host
|
void |
start(ClusterManager.ServiceType service,
String hostname,
int port)
Start the service on the given host
|
void |
stop(ClusterManager.ServiceType service,
String hostname,
int port)
Stop the service on the given host
|
void |
suspend(ClusterManager.ServiceType service,
String hostname,
int port)
Suspends the service running on the given host
|
void start(ClusterManager.ServiceType service, String hostname, int port) throws IOException
IOExceptionvoid stop(ClusterManager.ServiceType service, String hostname, int port) throws IOException
IOExceptionvoid restart(ClusterManager.ServiceType service, String hostname, int port) throws IOException
IOExceptionvoid kill(ClusterManager.ServiceType service, String hostname, int port) throws IOException
IOExceptionvoid suspend(ClusterManager.ServiceType service, String hostname, int port) throws IOException
IOExceptionvoid resume(ClusterManager.ServiceType service, String hostname, int port) throws IOException
IOExceptionboolean isRunning(ClusterManager.ServiceType service, String hostname, int port) throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.