[ 
https://issues.apache.org/jira/browse/HADOOP-4761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652867#action_12652867
 ] 

Lohit Vijayarenu commented on HADOOP-4761:
------------------------------------------

>Also, an utility to check if the block at a given datanode is corrupt or not 
>would be of great help in managing the cluster.
If the approach is to read the block to check if it is corrupt, then the 
current behavior is like this. If a read failure is seen on the block, it would 
be reported to namenode as corrupt replica and added to replication queue. So, 
even thought the tool (assuming client end ) reports the block as corrupt, it 
would heal itself after discovery. 

> Tool to give the block location and to check if the block at a given datanode 
> is corrupt or not
> -----------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4761
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4761
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: dfs
>            Reporter: Ramya R
>            Priority: Minor
>             Fix For: 0.20.0
>
>
> It would be useful if we could have a command line tool which would list out 
> the location of all the replicas of a block given a block-id/filename. Also, 
> an utility to check if the block at a given datanode is corrupt or not would 
> be of great help in managing the cluster.

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