[ https://issues.apache.org/jira/browse/HDFS-17602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhongkun Wu updated HDFS-17602: ------------------------------- Attachment: image-2024-08-12-10-25-42-863.png image-2024-08-12-10-25-26-003.png image-2024-08-12-10-14-20-580.png image-2024-08-12-10-12-48-428.png image-2024-08-12-10-08-58-271.png image-2024-08-12-10-08-54-031.png Description: !image-2024-08-12-10-08-58-271.png! In the MultipleDestinationMountTableResolver.java we invoke orderedResolver.getFirstNamespace(path, mountTableResult); It will then invoke this function in RouterResolver.java !image-2024-08-12-10-12-48-428.png! and now we are in chooseFirstNamespace function in AvailableSpaceResolver.java !image-2024-08-12-10-14-20-580.png! The path parameter is the destionation where we want to create a file the loc parameter is the mountpoint we set thie function will choose the most available namespace in all the namespace we have in statestore, which is not the same as the mountpoint we set for our destination. As a result we will get an namespace irrelevant to the namespaces we set for the destination path Environment: !image-2024-08-12-10-25-42-863.png! Summary: RBF mount point with SPACE order can not find the most available namespace, it will choose an irrelevant namespace (was: RBF mount point with SPACE order can not find the most available namespace, it will choose an irrelevant namespace) > RBF mount point with SPACE order can not find the most available namespace, > it will choose an irrelevant namespace > ------------------------------------------------------------------------------------------------------------------ > > Key: HDFS-17602 > URL: https://issues.apache.org/jira/browse/HDFS-17602 > Project: Hadoop HDFS > Issue Type: Bug > Components: router > Environment: !image-2024-08-12-10-25-42-863.png! > Reporter: Zhongkun Wu > Priority: Critical > Attachments: image-2024-08-12-10-08-54-031.png, > image-2024-08-12-10-08-58-271.png, image-2024-08-12-10-12-48-428.png, > image-2024-08-12-10-14-20-580.png, image-2024-08-12-10-25-26-003.png, > image-2024-08-12-10-25-42-863.png > > > !image-2024-08-12-10-08-58-271.png! > In the > MultipleDestinationMountTableResolver.java we invoke > orderedResolver.getFirstNamespace(path, mountTableResult); > It will then invoke this function in RouterResolver.java > !image-2024-08-12-10-12-48-428.png! > and now we are in > chooseFirstNamespace function in AvailableSpaceResolver.java > !image-2024-08-12-10-14-20-580.png! > > The path parameter is the destionation where we want to create a file > the loc parameter is the mountpoint we set > > thie function will choose the most available namespace in all the namespace > we have in statestore, which is not the same as the mountpoint we set for our > destination. > > As a result we will get an namespace irrelevant to the namespaces we set for > the destination path > > > -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org