[ https://issues.apache.org/jira/browse/HDFS-1032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12843428#action_12843428 ]
André Oriani commented on HDFS-1032: ------------------------------------ Just to be sure: 1) HDFS-729 introduced ClientProtocol.getCorruptFiles() so the new option is to display corrupted files not blocks, right ? 2) What are the requirements for the new switch ? if invoke as "DFSck <path> -list-corrupted-files , will it list all files under <path> that are corrupted 3) How does this issue relates to HFDS-1031 > Extend DFSck with an option to list corrupt files using API from HDFS-729 > ------------------------------------------------------------------------- > > Key: HDFS-1032 > URL: https://issues.apache.org/jira/browse/HDFS-1032 > Project: Hadoop HDFS > Issue Type: Improvement > Components: tools > Reporter: Rodrigo Schmidt > > HDFS-729 created a new API to namenode that returns the list of corrupt files. > We can now extend fsck (DFSck.java) to add an option (e.g. --list_corrupt) > that queries the namenode using the new API and lists the corrupt blocks to > the users. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.