Details
Description
We have seem the following exception with DFSStripedInputStream.
readDirect: FSDataInputStream#read error: NullPointerException: java.lang.NullPointerException at org.apache.hadoop.hdfs.DFSStripedInputStream.readWithStrategy(DFSStripedInputStream.java:402) at org.apache.hadoop.hdfs.DFSInputStream.read(DFSInputStream.java:831) at org.apache.hadoop.fs.FSDataInputStream.read(FSDataInputStream.java:147)
Line 402 is reportCheckSumFailure, and currentLocatedBlock is the only possible null object. (Because currentLocatedBlock.getLocations() cannot be null - LocatedBlock constructor checks locs and would assign a EMPTY_LOCS if it's null)
Original exception is masked by the NPE.