Yi Liu created HDFS-8363:
----------------------------

             Summary: Erasure Coding: DFSStripedInputStream#seekToNewSource
                 Key: HDFS-8363
                 URL: https://issues.apache.org/jira/browse/HDFS-8363
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Yi Liu
            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)

Reply via email to