-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HADOOP-17979. Add Interface EtagSource to allow FileStatus subclasses to provide etags #3633
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
HADOOP-17979. Add Interface EtagSource to allow FileStatus subclasses to provide etags #3633
Conversation
|
new tests happy; regression tests in progress. note this also moves abfs listFiles and listLocatedStatus API calls into being incremental. this is a good thing anyway |
ce3b5d4 to
56daef7
Compare
|
tested: azure cardiff. all good except failures addressed in #3641 |
mukund-thakur
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.
Looks good. Just let's wait for the Yetus to have a proper run.
|
yetus is done. it's complaining about deprecation, but the deprecated method is only used in the s3a code in s3guard classes cut in another PR. I'm not going to fix them because it will only create merge conflict. |
mehakmeet
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.
+1. Prod code is all good, just some small nits in test.
...ject/hadoop-common/src/test/java/org/apache/hadoop/fs/contract/AbstractContractEtagTest.java
Outdated
Show resolved
Hide resolved
...ject/hadoop-common/src/test/java/org/apache/hadoop/fs/contract/AbstractContractEtagTest.java
Outdated
Show resolved
Hide resolved
...tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystemStore.java
Outdated
Show resolved
Hide resolved
mukund-thakur
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.
LGTM +1, Pending yetus failure.
fac1a2e to
662471a
Compare
|
ok, just pushed up a rebase with the checkstyle fix |
662471a to
8d4c331
Compare
* Pull out from HADOOP-17981/apache#3611 * Add S3A support * Add requirement that located status API calls MUST also support the API, and do this for ABFS. s3a code retains now deprecated getETag entries. lots of references in the s3guard code which I am leaving alone. Change-Id: I16c10c73873b3cbe60433adb9bbc7c1441221dbb
* style, spotbugs and EOL. not done -move off deprecated S3AStatus.getETag() call in S3Guard production/test code. The big patch to delete that will remove all those classes, changing it here only creates merge problems. Change-Id: Ia054465d43022c7fc38ae9afb762b66fbd1c8f55
Change-Id: If30dd4c6f5d6d9f868488c512aec2cbe41a6fe26
Change-Id: I33dae40b2ead002e2ef63983e0263417bf0c3f47
Change-Id: Ibe8140e75901cf18870cf2377f38dc6066ee516d
Change-Id: I35eb4686ae1b418814955635b8acf5480bd9d0cd
8d4c331 to
3c7821a
Compare
3c7821a to
a83da40
Compare
… to provide etags (#3633) Contributed by Steve Loughran Change-Id: I596205d788f623114c12962941445432e2036c34
… to provide etags (#3633) Contributed by Steve Loughran Change-Id: I596205d788f623114c12962941445432e2036c34
… to provide etags (apache#3633) Contributed by Steve Loughran
and do this for ABFS.
s3a code retains now deprecated getETag entries. lots of references in
the s3guard code which I am leaving alone.
How was this patch tested?
new integration tests for abfs and s3a
For code changes: