[ https://issues.apache.org/jira/browse/HDFS-7864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14371853#comment-14371853 ]
Jing Zhao commented on HDFS-7864: --------------------------------- Besides, you can also create a separate jira to add more unit tests to address the TODO in TestSafeMode.java. > 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, > HDFS-7864.4.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)