Takanobu Asanuma commented on HDFS-10975:

"fsck -list-corruptfileblocks" calls {{FSNameSystem.listCorruptFileBlocks}} and 
HDFS-10827 will solve the bug for ec files. In this jira, I will fix the code 
which counts "Under-erasure-coded block groups" and add some unit tests.

> 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
>            Assignee: Takanobu Asanuma
> 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

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