You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "dragon (JIRA)" <ji...@apache.org> on 2016/03/15 09:16:35 UTC

[jira] [Created] (HDFS-10080) CLONE - Erasure Coding: DFSStripedInputStream#seekToNewSource

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)