You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Ayush Saxena (Jira)" <ji...@apache.org> on 2021/12/14 09:46:00 UTC
[jira] [Commented] (HDFS-16382) Router getContentSummary rpc compute sub-directory repeatedly
[ 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org