Skip to content

Conversation

@guohao-rosicky
Copy link
Contributor

What changes were proposed in this pull request?

Fix BlockDataStreamOutput#doFlushIfNeeded NPE

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-6282

Copy link
Member

@ayushtkn ayushtkn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a test case

@guohao-rosicky
Copy link
Contributor Author

Add a test case

This is a fix for a bug that reported errors in JIRA. Use the existing test.

@captainzmc
Copy link
Member

Add a test case

Thanks @ayushtkn for the review. this bug was found in our patch that s3gateway support streaming write(HDDS-5869).
After we enabled s3 streaming, we found that many CI test cases were reported to NPE. So, there are enough test cases to support this PR.
After this PR merge, we will continue the development of #2858.

@captainzmc
Copy link
Member

Hi @guohao-rosicky HDDS-4454 was synchronous with master branch. Can you rebase this patch? I think we can merge this bug fix first and continue #2858.

@captainzmc captainzmc self-requested a review February 10, 2022 01:27
@captainzmc captainzmc requested a review from ayushtkn February 14, 2022 02:17
Copy link
Member

@captainzmc captainzmc left a 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.

@captainzmc
Copy link
Member

Failed CI has nothing to do with this PR. Let's merge this patch first and then continue HDDS-5869. Thanks @guohao-rosicky fix this and thanks @ayushtkn for the review.

@captainzmc captainzmc closed this Feb 15, 2022
@captainzmc captainzmc reopened this Feb 15, 2022
@captainzmc captainzmc merged this pull request into apache:HDDS-4454 Feb 15, 2022
szetszwo pushed a commit to szetszwo/ozone that referenced this pull request May 6, 2022
captainzmc pushed a commit to captainzmc/hadoop-ozone that referenced this pull request Jul 4, 2022
szetszwo pushed a commit that referenced this pull request Oct 25, 2022
(cherry picked from commit 8f8f166)
(cherry picked from commit 9d24f5870443ad3a9f8b6a508bcc1426e3c8bc4f)
szetszwo pushed a commit that referenced this pull request Nov 7, 2022
(cherry picked from commit 8f8f166)
(cherry picked from commit 9d24f5870443ad3a9f8b6a508bcc1426e3c8bc4f)
(cherry picked from commit cca5e3b)
szetszwo pushed a commit that referenced this pull request Dec 1, 2022
szetszwo pushed a commit that referenced this pull request Dec 16, 2022
nishitpatira pushed a commit to nishitpatira/ozone that referenced this pull request Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants