-
Notifications
You must be signed in to change notification settings - Fork 592
HDDS-5879. [Ozone-Streaming] OzoneBucket add the createMultipartStreamKey method #2760
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
HDDS-5879. [Ozone-Streaming] OzoneBucket add the createMultipartStreamKey method #2760
Conversation
|
Thanks @guohao-rosicky for your contribution. Could you update the URL of jira in comment? Also, the current code check style still has some problems, and it is better to add some UT to test the new interface. |
f7ea63a to
46f4fa4
Compare
|
Thanks @captainzmc , has been modified. |
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.
Can we create a Jira for this TODO
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 @bharatviswa504 , new jira url: https://issues.apache.org/jira/browse/HDDS-5892
46f4fa4 to
dffcd34
Compare
|
Thanks @captainzmc , already added UT. |
szetszwo
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 working on this. Just a question inlined.
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.
Why we pass replicationConfig but not use openKey.getKeyInfo().getReplicationConfig()?
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.
@szetszwo
I noticed it. Thanks for reminding me. I have revised it.
e10fe82 to
b9c5d4c
Compare
b9c5d4c to
c47548a
Compare
szetszwo
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.
@guohao-rosicky , thanks for the update.
The new testMultiPartUploadWithStream() failed. Please take a look.
I also have a minor comment inlined.
| if (feInfo != null) { | ||
| // todo: need to support file encrypt, | ||
| // https://issues.apache.org/jira/browse/HDDS-5892 | ||
| return null; |
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.
Let's throw a UnsupportedOperationException.
throw new UnsupportedOperationException(
"FileEncryptionInfo is not yet supported in createMultipartStreamKey");
|
@guohao-rosicky , TestOzoneRpcClientAbstract.testMultiPartUploadWithStream failed again in the last build. Please take a look. |
Thanks @szetszwo , please TBR. |
szetszwo
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 the change looks good.
…mKey method (apache#2760) (cherry picked from commit 2054fe4)
https://issues.apache.org/jira/browse/HDDS-5879
OzoneBucket and RpcClient not support multipart upload with Stream.
Add the createMultipartStreamKey method