File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed 
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2281,15 +2281,15 @@ public List<ServerName> getExcludedServersForSystemTable() {
22812281      .map (s ->new  Pair <>(s , master .getRegionServerVersion (s )))
22822282      .collect (Collectors .toList ());
22832283    if  (serverList .isEmpty ()) {
2284-       return  Collections . emptyList ();
2284+       return  new   ArrayList <> ();
22852285    }
22862286    String  highestVersion  = Collections .max (serverList ,
22872287      (o1 , o2 ) -> VersionInfo .compareVersion (o1 .getSecond (), o2 .getSecond ())).getSecond ();
22882288    if  (!DEFAULT_MIN_VERSION_MOVE_SYS_TABLES_CONFIG .equals (minVersionToMoveSysTables )) {
22892289      int  comparedValue  = VersionInfo .compareVersion (minVersionToMoveSysTables ,
22902290        highestVersion );
22912291      if  (comparedValue  > 0 ) {
2292-         return  Collections . emptyList ();
2292+         return  new   ArrayList <> ();
22932293      }
22942294    }
22952295    return  serverList .stream ()
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments