[jira] [Updated] (HDFS-15766) RBF: MockResolver.getMountPoints() breaks the semantic of FileSubclusterResolver.
[ https://issues.apache.org/jira/browse/HDFS-15766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jinglun updated HDFS-15766: --- Description: MockResolver.getMountPoints() breaks the semantic of FileSubclusterResolver.getMountPoints(). Currently it returns null when the path is a mount point and no mount points are under the path. {quote}Return zero-length list if the path is a mount point but there are no mount points under the path. {quote} This is required by router federation rename. I found this bug when writing unit test for the rbf rename. Let's fix it here to avoid mixing up with the router federation rename. was: MockResolver.getMountPoints() breaks the semantic of FileSubclusterResolver.getMountPoints(). {quote}Return zero-length list if the path is a mount point but there are no mount points under the path. {quote} This is required by router federation rename. I found this bug when writing unit test for the rbf rename. Let's fix it here to avoid mixing up with the router federation rename. > RBF: MockResolver.getMountPoints() breaks the semantic of > FileSubclusterResolver. > - > > Key: HDFS-15766 > URL: https://issues.apache.org/jira/browse/HDFS-15766 > Project: Hadoop HDFS > Issue Type: Sub-task >Reporter: Jinglun >Priority: Major > > MockResolver.getMountPoints() breaks the semantic of > FileSubclusterResolver.getMountPoints(). Currently it returns null when the > path is a mount point and no mount points are under the path. > {quote}Return zero-length list if the path is a mount point but there are no > mount points under the path. > {quote} > > This is required by router federation rename. I found this bug when writing > unit test for the rbf rename. Let's fix it here to avoid mixing up with the > router federation rename. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-15766) RBF: MockResolver.getMountPoints() breaks the semantic of FileSubclusterResolver.
[ https://issues.apache.org/jira/browse/HDFS-15766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jinglun updated HDFS-15766: --- Attachment: HDFS-15766.001.patch Status: Patch Available (was: Open) > RBF: MockResolver.getMountPoints() breaks the semantic of > FileSubclusterResolver. > - > > Key: HDFS-15766 > URL: https://issues.apache.org/jira/browse/HDFS-15766 > Project: Hadoop HDFS > Issue Type: Sub-task >Reporter: Jinglun >Assignee: Jinglun >Priority: Major > Attachments: HDFS-15766.001.patch > > > MockResolver.getMountPoints() breaks the semantic of > FileSubclusterResolver.getMountPoints(). Currently it returns null when the > path is a mount point and no mount points are under the path. > {quote}Return zero-length list if the path is a mount point but there are no > mount points under the path. > {quote} > > This is required by router federation rename. I found this bug when writing > unit test for the rbf rename. Let's fix it here to avoid mixing up with the > router federation rename. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-15766) RBF: MockResolver.getMountPoints() breaks the semantic of FileSubclusterResolver.
[ https://issues.apache.org/jira/browse/HDFS-15766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jinglun updated HDFS-15766: --- Attachment: HDFS-15766.002.patch > RBF: MockResolver.getMountPoints() breaks the semantic of > FileSubclusterResolver. > - > > Key: HDFS-15766 > URL: https://issues.apache.org/jira/browse/HDFS-15766 > Project: Hadoop HDFS > Issue Type: Sub-task >Reporter: Jinglun >Assignee: Jinglun >Priority: Major > Attachments: HDFS-15766.001.patch, HDFS-15766.002.patch > > > MockResolver.getMountPoints() breaks the semantic of > FileSubclusterResolver.getMountPoints(). Currently it returns null when the > path is a mount point and no mount points are under the path. > {quote}Return zero-length list if the path is a mount point but there are no > mount points under the path. > {quote} > > This is required by router federation rename. I found this bug when writing > unit test for the rbf rename. Let's fix it here to avoid mixing up with the > router federation rename. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-15766) RBF: MockResolver.getMountPoints() breaks the semantic of FileSubclusterResolver.
[ https://issues.apache.org/jira/browse/HDFS-15766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jinglun updated HDFS-15766: --- Attachment: HDFS-15766.003.patch > RBF: MockResolver.getMountPoints() breaks the semantic of > FileSubclusterResolver. > - > > Key: HDFS-15766 > URL: https://issues.apache.org/jira/browse/HDFS-15766 > Project: Hadoop HDFS > Issue Type: Sub-task >Reporter: Jinglun >Assignee: Jinglun >Priority: Major > Attachments: HDFS-15766.001.patch, HDFS-15766.002.patch, > HDFS-15766.003.patch > > > MockResolver.getMountPoints() breaks the semantic of > FileSubclusterResolver.getMountPoints(). Currently it returns null when the > path is a mount point and no mount points are under the path. > {quote}Return zero-length list if the path is a mount point but there are no > mount points under the path. > {quote} > > This is required by router federation rename. I found this bug when writing > unit test for the rbf rename. Let's fix it here to avoid mixing up with the > router federation rename. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-15766) RBF: MockResolver.getMountPoints() breaks the semantic of FileSubclusterResolver.
[ https://issues.apache.org/jira/browse/HDFS-15766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ayush Saxena updated HDFS-15766: Fix Version/s: 3.4.0 Hadoop Flags: Reviewed Resolution: Fixed Status: Resolved (was: Patch Available) > RBF: MockResolver.getMountPoints() breaks the semantic of > FileSubclusterResolver. > - > > Key: HDFS-15766 > URL: https://issues.apache.org/jira/browse/HDFS-15766 > Project: Hadoop HDFS > Issue Type: Sub-task >Reporter: Jinglun >Assignee: Jinglun >Priority: Major > Fix For: 3.4.0 > > Attachments: HDFS-15766.001.patch, HDFS-15766.002.patch, > HDFS-15766.003.patch > > > MockResolver.getMountPoints() breaks the semantic of > FileSubclusterResolver.getMountPoints(). Currently it returns null when the > path is a mount point and no mount points are under the path. > {quote}Return zero-length list if the path is a mount point but there are no > mount points under the path. > {quote} > > This is required by router federation rename. I found this bug when writing > unit test for the rbf rename. Let's fix it here to avoid mixing up with the > router federation rename. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-15766) RBF: MockResolver.getMountPoints() breaks the semantic of FileSubclusterResolver.
[ https://issues.apache.org/jira/browse/HDFS-15766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shilun Fan updated HDFS-15766: -- Component/s: rbf Target Version/s: 3.4.0 Affects Version/s: 3.4.0 > RBF: MockResolver.getMountPoints() breaks the semantic of > FileSubclusterResolver. > - > > Key: HDFS-15766 > URL: https://issues.apache.org/jira/browse/HDFS-15766 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: rbf >Affects Versions: 3.4.0 >Reporter: Jinglun >Assignee: Jinglun >Priority: Major > Fix For: 3.4.0 > > Attachments: HDFS-15766.001.patch, HDFS-15766.002.patch, > HDFS-15766.003.patch > > > MockResolver.getMountPoints() breaks the semantic of > FileSubclusterResolver.getMountPoints(). Currently it returns null when the > path is a mount point and no mount points are under the path. > {quote}Return zero-length list if the path is a mount point but there are no > mount points under the path. > {quote} > > This is required by router federation rename. I found this bug when writing > unit test for the rbf rename. Let's fix it here to avoid mixing up with the > router federation rename. -- 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