[ https://issues.apache.org/jira/browse/HDFS-729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rodrigo Schmidt updated HDFS-729: --------------------------------- Attachment: HDFS-729.1.patch Here is an initial proposal to the new API, returning a map from FileStatus to a LocatedBlocks object containing only the list of corrupted blocks. I'm not sure if this is the best interface and I'd like to hear your comments about it. Thanks! PS: I haven't put the unit tests yet because I wanted to get some consensus on the API first (on that respect, the unit tests would only make the patch look more complicated). > 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 > > > 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.