Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
-
Reviewed
Description
Ideally, for striped block, an internal block is only on one datanode, so DFSStripedInputStream#seekToNewSource should return false, we should overwrite DFSInputStream#seekToNewSource for striped file.
This patch also remove the hardcode for groupSize
private final short groupSize = HdfsConstants.NUM_DATA_BLOCKS;