-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HDFS-16382. RBF: getContentSummary RPC compute sub-directory repeatedly #3797
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HDFS-16382. RBF: getContentSummary RPC compute sub-directory repeatedly #3797
Conversation
|
💔 -1 overall
This message was automatically generated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Find wrong spelling of filterLocations..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks yang. have changed.
cfd31a4 to
3bcfb2c
Compare
|
add some unit tests of this patch |
|
💔 -1 overall
This message was automatically generated. |
3bcfb2c to
c33909a
Compare
|
💔 -1 overall
This message was automatically generated. |
|
We're closing this stale PR because it has been open for 100 days with no activity. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable. |
…rectory repeatedly
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 repeatedlyHow was this patch tested?
construct mount table entries in real cluster
For code changes:
https://issues.apache.org/jira/browse/HDFS-16382