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

Walter Su commented on HDFS-8120:
---------------------------------

bq. the lastStripeSizePerBlock (or you can call it "the last partial unfilled 
cell") in data block and in parity block are same.
It's wrong. Actually the pending 0s of the last stripe in data blocks are only 
for calculating parity, will not be written to data blocks. So I think the 
calculation in 003 patch is right.

> Erasure coding: created util class to analyze striped block groups
> ------------------------------------------------------------------
>
>                 Key: HDFS-8120
>                 URL: https://issues.apache.org/jira/browse/HDFS-8120
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Zhe Zhang
>            Assignee: Zhe Zhang
>         Attachments: HDFS-8120.000.patch, HDFS-8120.001.patch, 
> HDFS-8120.002.patch
>
>
> The patch adds logic of calculating size of individual blocks in a striped 
> block group.



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

Reply via email to