[ 
https://issues.apache.org/jira/browse/HDFS-729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

dhruba borthakur updated HDFS-729:
----------------------------------

    Attachment: badFiles.txt

This patch allows an API to retrieve the list of files that have blocks with no 
valid replicas. The blocks either have no replicas or all of their existing 
replicas are corrupted. This API can be used by fsck/jsp to quickly list files 
that need attention.

A new call ClientProtocol.getBadFiles() is introduced. It returns a specified 
number of files per invocation. It can be used by an application to iterate 
over all files that have bad blocks.

> 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: dhruba borthakur
>         Attachments: badFiles.txt, corruptFiles.txt
>
>
> 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