Skip to content

Commit

Permalink
HDFS-17602. RBF mount point with SPACE order can not find the most av…
Browse files Browse the repository at this point in the history
…ailable namespace, it will choose an irrelevant namespace
  • Loading branch information
wzk784533 committed Aug 13, 2024
1 parent 918da8d commit 6eb709b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ protected String chooseFirstNamespace(String path, PathLocation loc) {
getSubclusterMapping();
List<SubclusterAvailableSpace> subclusterList = new LinkedList<>(
subclusterInfo.values());

if (loc != null && loc.getDestinations() != null) {
Set<String> locSet = new HashSet<String>();
for (RemoteLocation dest : loc.getDestinations()) {
Expand Down

0 comments on commit 6eb709b

Please sign in to comment.