liuyanyu created HDFS-15365:
-------------------------------
Summary: [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
Attachments: image-2020-05-20-11-42-12-763.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]