dragon created HDFS-10080: ----------------------------- Summary: CLONE - Erasure Coding: DFSStripedInputStream#seekToNewSource Key: HDFS-10080 URL: https://issues.apache.org/jira/browse/HDFS-10080 Project: Hadoop HDFS Issue Type: Sub-task Reporter: dragon Assignee: Yi Liu
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}} {code} private final short groupSize = HdfsConstants.NUM_DATA_BLOCKS; {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)