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

Wei-Chiu Chuang commented on HDFS-10975:
----------------------------------------

It is also worth noting that without any parameters, the corrupt EC file is 
also reported as having an underr replicated block. An EC block should not be 
called under replicated if it misses 4 "replicas".

> fsck -list-corruptfileblocks does not report corrupt EC files
> -------------------------------------------------------------
>
>                 Key: HDFS-10975
>                 URL: https://issues.apache.org/jira/browse/HDFS-10975
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 3.0.0-alpha2
>            Reporter: Wei-Chiu Chuang
>
> HDFS-10826 fix fsck for corrupt EC files if no parameters are specified.
> However, if I change the test case added in HDFS-10826 
> (TestFsck#testFsckCorruptECFile) to run "fsck -list-corruptfileblocks", the 
> same test test failed because fsck reports no corrupt files. 
> Interestingly, if I run "fsck -files -blocks -replicaDetails" then the test 
> passed and shows the corrupt file.
> Need to fix the discrepancy.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to