You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "smengcl (via GitHub)" <gi...@apache.org> on 2026/07/09 09:52:01 UTC
[PR] HDDS-15794. StreamBlockInputStream can NPE on premature stream completion and masked failure in onNext error handling [ozone]
smengcl opened a new pull request, #10698:
URL: https://github.com/apache/ozone/pull/10698
Generated-by: Claude Code (Fable 5)
## What changes were proposed in this pull request?
Same family as HDDS-15521.
(1) when the datanode ends the gRPC stream while the client awaits requested data, poll() returns null and readFromQueue() throws NPE, which also bypasses handleExceptions() retry/failover since it isn't an IOException
(2) the onNext error path throws IndexOutOfBoundsException building a 10-byte hex preview of payloads under 10 bytes before setFailed() records the real failure, and dereferences a possibly-null getResponse().
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-15794
## How was this patch tested?
- Added new unit tests.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-15794. StreamBlockInputStream can NPE on premature stream completion and masked failure in onNext error handling [ozone]
Posted by "smengcl (via GitHub)" <gi...@apache.org>.
smengcl commented on PR #10698:
URL: https://github.com/apache/ozone/pull/10698#issuecomment-4929677675
Thanks @adoroszlai . I will update this once https://github.com/apache/ozone/pull/10431 is merged.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-15794. StreamBlockInputStream can NPE on premature stream completion and masked failure in onNext error handling [ozone]
Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai commented on PR #10698:
URL: https://github.com/apache/ozone/pull/10698#issuecomment-4925313919
I think this partly duplicates #10431 (HDDS-15480).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-15794. StreamBlockInputStream.onNext may throw IndexOutOfBoundsException on short payloads [ozone]
Posted by "jojochuang (via GitHub)" <gi...@apache.org>.
jojochuang commented on PR #10698:
URL: https://github.com/apache/ozone/pull/10698#issuecomment-4960275799
@yandrey321 @ss77892
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-15794. StreamBlockInputStream.onNext may throw IndexOutOfBoundsException on short payloads [ozone]
Posted by "szetszwo (via GitHub)" <gi...@apache.org>.
szetszwo merged PR #10698:
URL: https://github.com/apache/ozone/pull/10698
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org