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

GAO Rui commented on HDFS-9070:
-------------------------------

Thanks [~andreina]. For nits 1, I think explicit check for {{isComplete}} could 
be removed, cause under construction block shouldn't be included in 
corruptReplicas or blocksExcess. I will revise the code.  Nits 2, I will add EC 
related assert in {{testFsckOpenECFiles}}. I think it's better to test against 
open EC  files as well as normal files. Cause, both EC and non-EC file are 
necessary test  scenarios. I'll upload a new patch soon. Thank you very much 
for your comment. 

> Allow fsck display pending replica location information for being-written 
> blocks
> --------------------------------------------------------------------------------
>
>                 Key: HDFS-9070
>                 URL: https://issues.apache.org/jira/browse/HDFS-9070
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: GAO Rui
>            Assignee: GAO Rui
>         Attachments: HDFS-9070--HDFS-7285.00.patch, 
> HDFS-9070-HDFS-7285.00.patch, HDFS-9070-HDFS-7285.01.patch, 
> HDFS-9070-HDFS-7285.02.patch, HDFS-9070-trunk.03.patch, 
> HDFS-9070-trunk.04.patch, HDFS-9070-trunk.05.patch, HDFS-9070-trunk.06.patch
>
>
> When a EC file is being written, it can be helpful to allow fsck display 
> datanode information of the being-written EC file block group. 



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

Reply via email to