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 "Yi Liu (JIRA)" <ji...@apache.org> on 2015/05/11 03:02:00 UTC

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

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)