Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.0.0-alpha2
-
None
Description
In StripedBlockReader#createBlockReader if any IOException is thrown, the error is logged at debug level and then returns a null. This means in a typical configuration an NPE may be thrown without logging a cause if the StripedBlockReader object is accessed.
Attaching patch to log BlockReader creation errors.
Since BlockReaderRemote#newBlockReader throws IOException with information about the offset issues, logging the IOException should be sufficient to get the reason for BlockReader creation errors.