From 96f74e0b656e63839ea63bd51bb361383aed95e0 Mon Sep 17 00:00:00 2001 From: Matteo Bertozzi Date: Tue, 23 Jun 2015 16:28:32 -0700 Subject: [PATCH] HBASE-13958 RESTApiClusterManager calls kill() instead of suspend() and resume() --- .../java/org/apache/hadoop/hbase/RESTApiClusterManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hbase-it/src/test/java/org/apache/hadoop/hbase/RESTApiClusterManager.java b/hbase-it/src/test/java/org/apache/hadoop/hbase/RESTApiClusterManager.java index 28fac4ee2bf..9ea126a0af9 100644 --- a/hbase-it/src/test/java/org/apache/hadoop/hbase/RESTApiClusterManager.java +++ b/hbase-it/src/test/java/org/apache/hadoop/hbase/RESTApiClusterManager.java @@ -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); }