hfutatzhanghb opened a new pull request #3797:
URL: https://github.com/apache/hadoop/pull/3797
…rectory repeatedly
<!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines:
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g.,
'HADOOP-17799. Your PR title ...'.
-->
### Description of PR
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
### How was this patch tested?
construct mount table entries in real cluster
### For code changes:
https://issues.apache.org/jira/browse/HDFS-16382
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]