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

Ramya R commented on HADOOP-4761:
---------------------------------

> One can have block locations printed by calling fsck
Using fsck is not that intuitive. It would be useful to have a separate tool 
instead. Besides, fsck does not print out the locations given a block-id.  It 
requires a path to the filename only. Also I was just wondering if we could 
have the hostnames printed rather than the IP addresses. Any comments?

> Is that what you need?
To be more precise, I was looking for a utility which would tell if a block is 
corrupt or not given the block-id OR given a datanode and a block-id/file, 
display if that replica is corrupt or not.


> 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