[
https://issues.apache.org/jira/browse/HDFS-7864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14356421#comment-14356421
]
GAO Rui commented on HDFS-7864:
-------------------------------
[~jingzhao]
Thanks for your comment, I have update a new patch. All the striped blocks is a
instance of BlockInfoStriped, so I added the logic into the current
{{incrementSafeBlockCount}}. I used {{numNodes}} to judge wether the striped
Block is safe. Hope it works.
Please review this new patch when you are free, thank you very much.
> 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
>
>
> 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)