[ https://issues.apache.org/jira/browse/HDFS-729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12833668#action_12833668 ]
Rodrigo Schmidt commented on HDFS-729: -------------------------------------- Something else I noticed on this API is that we are returning all block locations of the corrupt files, and not only the locations of those blocks that are corrupt. And besides block locations, we don't give any other information to the client about the file. I suggest that we return a map from FileStatus to corrupt block locations, listing all the files that are corrupt together with its corrupt blocks (leaving out the blocks that have at least one replica). > 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.