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

Aaron T. Myers commented on HDFS-6663:
--------------------------------------

Hey Kihwal, can't this be done currently by doing something like this?

{code}
hdfs fsck / -files -blocks -locations | grep <block ID>
{code}

> Admin command to track file and locations from block id
> -------------------------------------------------------
>
>                 Key: HDFS-6663
>                 URL: https://issues.apache.org/jira/browse/HDFS-6663
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>            Reporter: Kihwal Lee
>            Assignee: Chen He
>
> A dfsadmin command that allows finding out the file and the locations given a 
> block number will be very useful in debugging production issues.   It may be 
> possible to add this feature to Fsck, instead of creating a new command.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to