You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Uma Maheswara Rao G (JIRA)" <ji...@apache.org> on 2015/05/12 10:30:00 UTC

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

    [ https://issues.apache.org/jira/browse/HDFS-8363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14539508#comment-14539508 ] 

Uma Maheswara Rao G commented on HDFS-8363:
-------------------------------------------

+1

> 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
>         Attachments: HDFS-8363.001.patch
>
>
> 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)