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

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

DFSClient is from hdfs, and FsShell is in common. After project splitting, it 
becomes difficuty to modify the core and hdfs at the same time. 
And FsShell should works for all file systems, which DFSClient is only for 
hdfs. 
I think if can not get blocks' ids, sortting the output according to byte-range 
is pretty much the same.

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