-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HDFS-16358. HttpFS implementation for getSnapshotDiffReportListing #3730
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
Conversation
|
🎊 +1 overall
This message was automatically generated. |
|
@iwasakims @jojochuang @aajisaka Could you please take a look? |
|
🎊 +1 overall
This message was automatically generated. |
|
Minor refactor in the latest commit. |
|
🎊 +1 overall
This message was automatically generated. |
|
@virajjasani HttpFSFileSystem might be able to leverage |
|
Thanks for taking a look.
I have made WebHdfsFileSystem#getSnapshotDiffReportListing public only because of test usage, so let me make it as
On the other hand, almost every other HttpFS APIs use DFSClient (through DFS) e.g.
Sounds good, however, I have the same question as above that majority of HttpFS APIs still directly use DFSClient if the underlying FileSystem is DFS. Does this cause any known issues? Thanks @iwasakims, let me add |
|
🎊 +1 overall
This message was automatically generated. |
jojochuang
left a comment
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.
BTW TestHttpFSFWithSWebhdfsFileSystem is currently failing consistently in trunk. So we really need to fix it. (how did we miss it before?)
jojochuang
left a comment
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.
From a quick look the code looks good to me.
Thanks @jojochuang. These tests are passing as per QA results on this PR: I am not 100% sure why the test was missed but I guess it's because when a change is made to WebHdfs module explicitly, Httpfs tests are not run by QA and hence any existing test failure might be missed. |
iwasakims
left a comment
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 for the update, @virajjasani. +1. merging this.
Description of PR
HttpFS should support getSnapshotDiffReportListing API for improved snapshot diff.
How was this patch tested?
Local testing. Added some tests in httpfs module.
For code changes: