HBASE-13958 RESTApiClusterManager calls kill() instead of suspend() and resume()
This commit is contained in:
parent
be5c1c7a21
commit
96f74e0b65
|
@ -158,12 +158,12 @@ public class RESTApiClusterManager extends Configured implements ClusterManager
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void suspend(ServiceType service, String hostname, int port) throws IOException {
|
public void suspend(ServiceType service, String hostname, int port) throws IOException {
|
||||||
hBaseClusterManager.kill(service, hostname, port);
|
hBaseClusterManager.suspend(service, hostname, port);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void resume(ServiceType service, String hostname, int port) throws IOException {
|
public void resume(ServiceType service, String hostname, int port) throws IOException {
|
||||||
hBaseClusterManager.kill(service, hostname, port);
|
hBaseClusterManager.resume(service, hostname, port);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue