[
https://issues.apache.org/jira/browse/HDFS-17879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18062053#comment-18062053
]
ASF GitHub Bot commented on HDFS-17879:
---------------------------------------
balodesecurity commented on PR #8281:
URL: https://github.com/apache/hadoop/pull/8281#issuecomment-3982672462
The 4 test failures are pre-existing flaky tests unrelated to this patch:
- `TestDFSClientRetries#testLeaseRenewAndDFSOutputStreamDeadLock`
- `TestDFSClientRetries#testLeaseRenewSocketTimeout`
- `TestBalancerWithHANameNodes#testBalancerWithObserverWithFailedNode`
- `TestFsVolumeList#testAddRplicaProcessorForAddingReplicaInMap`
None of these exercise the code path changed in this patch (`DataXceiver`
error handling for uninitialized `dnInfo`). They have been observed failing
across unrelated PRs on trunk.
> Premature error handling accesses uninitialized dnInfo
> ------------------------------------------------------
>
> Key: HDFS-17879
> URL: https://issues.apache.org/jira/browse/HDFS-17879
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 3.4.1
> Reporter: John Doe
> Priority: Major
>
> During block reading, an {{IOException}} triggers error-handling logic in
> {{createBlockReader}} that assumes {{dnInfo}} has already been initialized,
> but the failure occurs before this initialization completes, causing a
> {{NullPointerException}} when {{dnInfo}} is prematurely used.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]