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

Rodrigo Schmidt commented on HDFS-1032:
---------------------------------------

André, here is the way I would address your questions, but please don't take 
them as definitive. Usually JIRAs are used for discussions until we converge to 
specific ideas.

1) You are right. The idea is to list the files, not the blocks that are 
corrupted.

2) The requirements were not defined. Your proposal is exactly what I had in 
mind.

3) HDFS-1031 concerns the web interface only. This one concerns DFSck.java. The 
relation between them is that they both depend on HDFS-729

> 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.

Reply via email to