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

He Yongqiang commented on HADOOP-5988:
--------------------------------------

I think the patch can work for normal situations.
can you give some example outputs? like: stat a local path, stat a hdfs path, 
stat a non-exist path, stat a directory etc. For more eaier to read, i think 
the output should be indented (especially the byte range part), what do you 
think?

> Add a command to ' FsShell stat ' to get a file's block location information
> ----------------------------------------------------------------------------
>
>                 Key: HADOOP-5988
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5988
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: He Yongqiang
>         Attachments: HADOOP-5988.patch
>
>
> Adding an option to ' FsShell stat ' to get a file's block location 
> information will be very useful.
> we can print the block location information in this format:
> blockID:XXXXX  byte-range:YYYY-ZZZZ  location:dn1;dn2;
> blockID:XXXXX  byte-range:YYYY-ZZZZ  location:dn1;dn2;

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