-
Notifications
You must be signed in to change notification settings - Fork 588
HDDS-6440. Handle custom metadata (x-amz-meta) during put-object through S3 API. #3728
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
Merged
Merged
Changes from 40 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
202fc8f
HDDS-6440. Handle custom metadata (x-amz-meta) through S3 API.
67a99da
HDDS-6440. Handle custom metadata (x-amz-meta) through S3 API. 2
03be08e
Unit test fix.
87280e6
Update hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/clie…
avijayanhwx f63ca57
Merge remote-tracking branch 'upstream/master' into HDDS-6440-master
996afde
Merge branch 'HDDS-6440-master' of github.com:avijayanhwx/hadoop-ozon…
44180c1
Max size of 2KB
c1c0454
Merge remote-tracking branch 'upstream/master' into HDDS-6440-master
af9ee6c
Remove deprecated constructor.
1e03a4f
Merge remote-tracking branch 'upstream/master' into HDDS-6440-master
1b12aad
Merge remote-tracking branch 'upstream/master' into HDDS-6440-master
1bbfac7
sync with master branch
43efa39
fix checkstyle error
73257bd
remove gdprEnabled metadata from client request
8d68c21
fix checkstyle error
da17c8a
comment out some unit test
9db93fa
comment out updating creation time and modification time of key on cl…
50b7946
update unit test
32a9ad5
pick gdpr related string from OzoneConst; update s3 request metadata'…
256951e
fix checkstyle error
83626aa
fix OzoneKey creation time and modification time error
ff1603b
fix EndpointBase missing import
b420b0d
fix OzoneKey unit test
e1db11e
remove unused variable from OzoneKey
7febc6a
fix compiling error
84e5abf
pass metadata to copyObject method
8acd6c6
pass metadata to copyObject and put method of ObjectEndpoint class
35c4773
add Freon tests for s3 api with request of invalid size of metadata a…
0852059
Update s3 api Freon test result message
07f84a5
Fix checkstyle error; fix updated variable name
02fb612
Update s3 api robot test
fe93b51
Update s3 api robot test
ff9ba65
Update s3 api robot test
7bd79b6
Fix s3 robot test
aafd1c6
Update s3 robot test case where request with custom metadata size ove…
4f4357b
Fix checkstyle error
e1f911a
Remove debug log;remove unused import library
8ea42b1
Fix checkstyle error
0025afe
Remove additional line
13bd6ca
Add unit test
867fa27
Add setter for metadata attribute of OzoneKey class
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
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.
Setting the instance
this(creationTime, modificationTime )can remain initialized withInstant.ofEpochMilli(creationTime)andInstant.ofEpochMilli(modificationTime)respectively.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.
@neils-dev can you please explain, I am not sure I understood your 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.
Sure @kerneltime, the intialization for the creationTime, modification can retain its previous initialization prior to the change:
previous:
now:
line 73,
this(volumeName, bucketName, keyName, size,Instant.ofEpochMilli(creationTime), Instant.ofEpochMilli(modificationTime),...)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.
The constructor called internally does the same, right?
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.
Yes!