Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
0.22.0
-
None
-
Reviewed
Description
Lines listed below will caused a NullPointerException in DFSUtil.locatedBlocks2Locations (line 208) because EMPTY_BLOCK_LOCS will return null when calling blocks.getLocatedBlocks()
/** a default LocatedBlocks object, its content should not be changed */ private final static LocatedBlocks EMPTY_BLOCK_LOCS = new LocatedBlocks();