[
https://issues.apache.org/jira/browse/HDFS-15365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17112692#comment-17112692
]
liuyanyu commented on HDFS-15365:
---------------------------------
[~ayushtkn] Sorry, I did not check the open source code, will close this jira.
> [RBF] findMatching method return wrong result
> ---------------------------------------------
>
> Key: HDFS-15365
> URL: https://issues.apache.org/jira/browse/HDFS-15365
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: rbf
> Affects Versions: 3.1.1
> Reporter: liuyanyu
> Assignee: liuyanyu
> Priority: Major
> Attachments: image-2020-05-20-11-42-12-763.png,
> image-2020-05-20-11-55-34-115.png
>
>
> A mount table /hacluster_root -> hdfs://haclsuter/ is setted on the cluster,
> as follows:
> !image-2020-05-20-11-42-12-763.png!
> when I used
> org.apache.hadoop.hdfs.server.federation.router.FederationUtil#findMatching
> to find path hdfs://hacluster/yz0516/abc,the result of
> FederationUtil.findMatching(mountTableEntries.iterator(),
> /yz0516/abc, hacluster) is /hacluster_root/yz0516/hacluster_root/abc. This is
> wrong. The correct result should be /hacluster_root/yz0516/abc
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]