You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "liuyanyu (Jira)" <ji...@apache.org> on 2020/05/20 03:48:00 UTC
[jira] [Created] (HDFS-15365) [RBF] findMatching method return
wrong result
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: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org