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 @@ -2309,15 +2309,15 @@ public List<ServerName> getExcludedServersForSystemTable() {
23092309 .map (s ->new Pair <>(s , master .getRegionServerVersion (s )))
23102310 .collect (Collectors .toList ());
23112311 if (serverList .isEmpty ()) {
2312- return Collections . emptyList ();
2312+ return new ArrayList <> ();
23132313 }
23142314 String highestVersion = Collections .max (serverList ,
23152315 (o1 , o2 ) -> VersionInfo .compareVersion (o1 .getSecond (), o2 .getSecond ())).getSecond ();
23162316 if (!DEFAULT_MIN_VERSION_MOVE_SYS_TABLES_CONFIG .equals (minVersionToMoveSysTables )) {
23172317 int comparedValue = VersionInfo .compareVersion (minVersionToMoveSysTables ,
23182318 highestVersion );
23192319 if (comparedValue > 0 ) {
2320- return Collections . emptyList ();
2320+ return new ArrayList <> ();
23212321 }
23222322 }
23232323 return serverList .stream ()
You can’t perform that action at this time.
0 commit comments