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 "Yi Liu (JIRA)" <ji...@apache.org> on 2015/06/12 09:28:01 UTC

[jira] [Updated] (HDFS-8585) Remove dataBlockNum and parityBlockNum from StripedBlockProto

     [ https://issues.apache.org/jira/browse/HDFS-8585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yi Liu updated HDFS-8585:
-------------------------
    Attachment: HDFS-8585-HDFS-7285.001.patch

This JIRA remove {{dataBlockNum}} and {{parityBlockNum}} from StripedBlockProto,  also we can remove {{StripedBlockProto}}, if we have some special things for striped, we can put it in {{StripedBlocksFeature}}, since all them should be the same for the striped file.

This JIRA also fix a bug for {{FSImageLoader#getFileSize}}, we actually just need to calculate the file size, should not count the parity block size, as we only count one replication block size for contiguous block.

> Remove dataBlockNum and parityBlockNum from StripedBlockProto 
> --------------------------------------------------------------
>
>                 Key: HDFS-8585
>                 URL: https://issues.apache.org/jira/browse/HDFS-8585
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Yi Liu
>            Assignee: Yi Liu
>         Attachments: HDFS-8585-HDFS-7285.001.patch
>
>
> Since in HDFS-8427, we remove {{dataBlockNum}} and {{parityBlockNum}}, and get it from {{ECSchema}}, so we also need it from {{StripedBlockProto}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)