dlmarion commented on PR #8348: URL: https://github.com/apache/hadoop/pull/8348#issuecomment-4213894151
> It seems that this bug is introduced by [HDFS-17811](https://issues.apache.org/jira/browse/HDFS-17811), right? @dlmarion > > The `DFSStripedInputStream` shouldn't be close in the first retry. It looks like the call to `dfsStripedInputStream.close()` from StripeReader was added in HDFS-17080 (#5807). I mentioned HDFS-17811 because it was merged later and included changes to DFSStripedInputStream to retry the read on an IOException. I believe that this patch will allow the retry to work in more cases as an IOException is thrown in this case instead of a NullPointerException. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
