HBASE-13958 RESTApiClusterManager calls kill() instead of suspend() and resume()

This commit is contained in:
Matteo Bertozzi 2015-06-23 16:28:32 -07:00
parent be5c1c7a21
commit 96f74e0b65
1 changed files with 2 additions and 2 deletions

View File

@ -158,12 +158,12 @@ public class RESTApiClusterManager extends Configured implements ClusterManager
@Override
public void suspend(ServiceType service, String hostname, int port) throws IOException {
hBaseClusterManager.kill(service, hostname, port);
hBaseClusterManager.suspend(service, hostname, port);
}
@Override
public void resume(ServiceType service, String hostname, int port) throws IOException {
hBaseClusterManager.kill(service, hostname, port);
hBaseClusterManager.resume(service, hostname, port);
}