[ 
https://issues.apache.org/jira/browse/HDFS-16382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17459017#comment-17459017
 ] 

Ayush Saxena commented on HDFS-16382:
-------------------------------------

Ahh, this looks like an invalid use case itself. Mount targets shouldn't 
overlap like this. I don't think you can do anything here, fix this mount table.

you mount /A/B to ns1 /A itself, then in that case it might lead to even more 
weird things with other RPC calls as well

 

 

> Router getContentSummary rpc compute sub-directory repeatedly
> -------------------------------------------------------------
>
>                 Key: HDFS-16382
>                 URL: https://issues.apache.org/jira/browse/HDFS-16382
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: rbf
>    Affects Versions: 3.3.1
>            Reporter: zhanghaobo
>            Priority: Major
>
> Router getContentSummary rpc compute sub-directory repeatedly when a 
> direactory and its ancestor directory are both mounted  in the form of 
> original src path.
> For example, suppose we have mount table entries below:
> /A---ns1---/A
> /A/B—ns1,ns2—/A/B
> we put a file test.txt to directory /A/B in namepsace ns1, then execute `hdfs 
> dfs -count  hdfs://router:8888/A`,  the result is wrong, because we compute 
> /A/B/test.txt repeatedly



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to