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 "zhanghaobo (Jira)" <ji...@apache.org> on 2021/12/14 09:40:00 UTC

[jira] [Created] (HDFS-16382) Router getContentSummary rpc compute sub-directory repeatedly

zhanghaobo created HDFS-16382:
---------------------------------

             Summary: 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


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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org