diff --git a/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/DumpClusterStatusAction.java b/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/DumpClusterStatusAction.java index f6a1c4251b5..4f08870306e 100644 --- a/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/DumpClusterStatusAction.java +++ b/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/DumpClusterStatusAction.java @@ -63,7 +63,7 @@ public class DumpClusterStatusAction extends Action { */ private static Set
collectKnownRegionServers(final ClusterStatus clusterStatus) { final Set
regionServers = new HashSet<>(); - final Set serverNames = clusterStatus.getLiveServersLoad().keySet(); + final Set serverNames = new HashSet<>(clusterStatus.getLiveServersLoad().keySet()); serverNames.addAll(clusterStatus.getDeadServerNames()); for (final ServerName serverName : serverNames) {