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 "Íñigo Goiri (Jira)" <ji...@apache.org> on 2021/12/14 18:05:00 UTC
[jira] [Commented] (HDFS-16382) [RBF] getContentSummary RPC compute sub-directory repeatedly
[ https://issues.apache.org/jira/browse/HDFS-16382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17459383#comment-17459383 ]
Íñigo Goiri commented on HDFS-16382:
------------------------------------
It is indeed a weird setup that may lead to cycles.
However, we should either prevent it or to cover this case.
> [RBF] 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
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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