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

Doug Cutting commented on HADOOP-4761:
--------------------------------------

This should be simple to add.  A new command can be added to FsShell.java that 
calls FileSystem#getBlockLocations and prints the results.

> 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