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

dhruba borthakur commented on HDFS-729:
---------------------------------------

Oh, and maybe the unit test can check that no more than 500 files are being 
returned by this call (even if there are plenty more corrupted files). For this 
unit test, you might want to initiaize MAX_CORRUPT_FILES_RETURNED from a config 
parameter (default 500).

> fsck option to list only corrupted files
> ----------------------------------------
>
>                 Key: HDFS-729
>                 URL: https://issues.apache.org/jira/browse/HDFS-729
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: dhruba borthakur
>            Assignee: Rodrigo Schmidt
>         Attachments: badFiles.txt, badFiles2.txt, corruptFiles.txt, 
> HDFS-729.1.patch, HDFS-729.2.patch
>
>
> An option to fsck to list only corrupted files will be very helpful for 
> frequent monitoring.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to