From 1128c855ad97a9f44f61b112089330d8256e1b75 Mon Sep 17 00:00:00 2001 From: Enis Soztutar Date: Mon, 26 Oct 2015 16:47:16 -0700 Subject: [PATCH] HBASE-14682 CM restore functionality for regionservers is broken --- .../java/org/apache/hadoop/hbase/DistributedHBaseCluster.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hbase-it/src/test/java/org/apache/hadoop/hbase/DistributedHBaseCluster.java b/hbase-it/src/test/java/org/apache/hadoop/hbase/DistributedHBaseCluster.java index 07ca5ec8d88..62f5c66dd3b 100644 --- a/hbase-it/src/test/java/org/apache/hadoop/hbase/DistributedHBaseCluster.java +++ b/hbase-it/src/test/java/org/apache/hadoop/hbase/DistributedHBaseCluster.java @@ -431,8 +431,8 @@ public class DistributedHBaseCluster extends HBaseCluster { protected boolean restoreRegionServers(ClusterStatus initial, ClusterStatus current) { Set toStart = new TreeSet(new ServerNameIgnoreStartCodeComparator()); Set toKill = new TreeSet(new ServerNameIgnoreStartCodeComparator()); - toStart.addAll(initial.getBackupMasters()); - toKill.addAll(current.getBackupMasters()); + toStart.addAll(initial.getServers()); + toKill.addAll(current.getServers()); for (ServerName server : current.getServers()) { toStart.remove(server);