[
https://issues.apache.org/jira/browse/HDFS-7864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14364536#comment-14364536
]
GAO Rui commented on HDFS-7864:
-------------------------------
[~jingzhao]
Thanks for your comment, Jing!
I have updated a new patch which used {{getDataBlockNum()}} to obtain the
minimal safe number for striped block. And I also modified code style according
to code convention as possible as I can. Please let me know if there are any
future problems.
Please review the patch when you are free, thank you very much!
And can you recommend another Jira for me to work on? Thank you!
> Erasure Coding: Update safemode calculation for striped blocks
> --------------------------------------------------------------
>
> Key: HDFS-7864
> URL: https://issues.apache.org/jira/browse/HDFS-7864
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Jing Zhao
> Assignee: GAO Rui
> Attachments: HDFS-7864.1.patch, HDFS-7864.2.patch, HDFS-7864.3.patch
>
>
> We need to update the safemode calculation for striped blocks. Specifically,
> each striped block now consists of multiple data/parity blocks stored in
> corresponding DataNodes. The current code's calculation is thus inconsistent:
> each striped block is only counted as 1 expected block, while each of its
> member block may increase the number of received blocks by 1.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)