HADOOP-17376. ITestS3AContractRename failing against stricter tests - #2462
Merged
Merged
Conversation
Change-Id: I65d3bb6725887a21b98f4eae73ee24cd0e58c592
|
🎊 +1 overall
This message was automatically generated. |
Contributor
|
LGTM, +1. merging. (Attempting to do it from IntelliJ, FWIW) That NoVersionAttributeException means that the code to detect changes in a file while open didn't get an etag in the GET response. Ozone needs to fix that. In the meantime, you can set a different change detection policy for your buckets, so disable that logic |
asfgit
pushed a commit
that referenced
this pull request
Nov 16, 2020
…2462) Contributed by Attila Doroszlai. Change-Id: Ie15624ec07b1c5e34ca7fde0a72a54431d79e746
Contributor
Author
|
Thanks @steveloughran for reviewing and merging it.
Yup, I've found HDDS-4243, which mentions these properties. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
Fix ITestS3AContractRename failure:
by declaring
rename-returns-false-if-dest-exists=truein the contract.https://issues.apache.org/jira/browse/HADOOP-17376
How was this patch tested?
Ran
ITestS3AContractRenameagainst Ozone S3 Gateway.Now
ITestS3AContractRename#testRenameFileOverExistingFileproceeds beyond previous failure in line 131, and fails due to Ozone-specific incompatibility in line 146:I expect this to work on real S3.