This is an automated email from the ASF dual-hosted git repository.

apurtell pushed a commit to branch branch-1
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-1 by this push:
     new 87527d6  HBASE-25699 [branch-1] UnsupportedOperationException in 
DumpClusterStatusAction (#3094)
87527d6 is described below

commit 87527d62ad78bfd3df7361286ecb88c57cc9b578
Author: Andrew Purtell <[email protected]>
AuthorDate: Fri Mar 26 14:16:42 2021 -0700

    HBASE-25699 [branch-1] UnsupportedOperationException in 
DumpClusterStatusAction (#3094)
    
    Signed-off-by: Reid Chan <[email protected]>
---
 .../org/apache/hadoop/hbase/chaos/actions/DumpClusterStatusAction.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 f6a1c42..4f08870 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<Address> collectKnownRegionServers(final ClusterStatus 
clusterStatus) {
     final Set<Address> regionServers = new HashSet<>();
-    final Set<ServerName> serverNames = 
clusterStatus.getLiveServersLoad().keySet();
+    final Set<ServerName> serverNames = new 
HashSet<>(clusterStatus.getLiveServersLoad().keySet());
     serverNames.addAll(clusterStatus.getDeadServerNames());
 
     for (final ServerName serverName : serverNames) {

Reply via email to