-
Notifications
You must be signed in to change notification settings - Fork 588
HDDS-3995. Fix s3g met NPE exception while write file by multiPartUpload #1228
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
This reverts commit 5f5af8b.
2) fix npm proxy issue
adoroszlai
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 @maobaolong the fix.
You mentioned that this started happening after upgrading s3g to HDDS-3350. Can you please explain how that change triggered this NPE? Or was it a previous change, and if so, which one?
Send a put request with an uploadId.
Can you please add a test case in hadoop-ozone/dist/src/main/smoketest/s3 for this?
|
@adoroszlai The HDDS-3994 is triggered by HDDS-3350, about this one, maybe no relation with HDDS-3350. |
hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/endpoint/ObjectEndpoint.java
Outdated
Show resolved
Hide resolved
|
@GlenGeng @bharatviswa504 Thanks for your suggestion, I push a new commit to fix this. PTAL |
|
+1, LGTM. |
bharatviswa504
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 LGTM
|
|
||
| @staticmethod | ||
| def iter_n(iterable, n, fillvalue=None): | ||
| args = [iter(iterable)] * n |
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.
Are these changes related to this PR? It has files named under directory Tencent.
|
Closing this, it is committed thru #1499 |
What changes were proposed in this pull request?
Fix s3g met NPE exception while write file by multiPartUpload
What is the link to the Apache JIRA
HDDS-3995
How was this patch tested?
Send a put request with an uploadId.