Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.2.2, 3.3.1
Description
when reading from S3a storage, SSLException (which extends IOException) happens, which will trigger onReadFailure.
onReadFailure calls "reopen". it will first close the original wrappedStream and set wrappedStream = null, and then it will try to re-get wrappedStream. But what if the previous code obtaining S3Object throw exception, then "wrappedStream" will be null.
And the retry mechanism may re-execute the wrappedStream.read and cause NPE.
For more details, please refer to https://github.com/NVIDIA/spark-rapids/issues/2915
Attachments
Attachments
Issue Links
- depends upon
-
HADOOP-17764 S3AInputStream read does not re-open the input stream on the second read retry attempt
- Resolved
- Testing discovered
-
HADOOP-17824 ITestCustomSigner fails with NPE against private endpoint
- Resolved
- links to