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 @@ -2322,15 +2322,15 @@ public List<ServerName> getExcludedServersForSystemTable() {
2322
2322
.map (s ->new Pair <>(s , master .getRegionServerVersion (s )))
2323
2323
.collect (Collectors .toList ());
2324
2324
if (serverList .isEmpty ()) {
2325
- return Collections . emptyList ();
2325
+ return new ArrayList <> ();
2326
2326
}
2327
2327
String highestVersion = Collections .max (serverList ,
2328
2328
(o1 , o2 ) -> VersionInfo .compareVersion (o1 .getSecond (), o2 .getSecond ())).getSecond ();
2329
2329
if (!DEFAULT_MIN_VERSION_MOVE_SYS_TABLES_CONFIG .equals (minVersionToMoveSysTables )) {
2330
2330
int comparedValue = VersionInfo .compareVersion (minVersionToMoveSysTables ,
2331
2331
highestVersion );
2332
2332
if (comparedValue > 0 ) {
2333
- return Collections . emptyList ();
2333
+ return new ArrayList <> ();
2334
2334
}
2335
2335
}
2336
2336
return serverList .stream ()
You can’t perform that action at this time.
0 commit comments