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

Zhe Zhang updated HDFS-8120:
----------------------------
    Attachment: HDFS-8120.003.patch

Thanks Jing for the comment on {{BlockManager}}. The 003 patch makes the 
suggested change. I will add a new unit test in the next rev.

Also thanks for [~libo-intel]'s suggestion. I changed the variable name. I also 
tried updating the {{writeParityCellsForLastStripe}} logic to use the new 
{{getInternalBlockLength}} method to calculate the size of last parity cell, 
but it caused test failures. You can look at the commented code in the method 
to find how I tried. Could you take a look and suggest how to update it? I 
think we should make the calculation consistent with the util class. Thanks!

> 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, HDFS-8120.003.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