hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandeep Nemuri <nhsande...@gmail.com>
Subject Re: how to locate the replicas of a file in HDFS?
Date Tue, 04 Jun 2013 10:14:09 GMT
Try this command
 hadoop fsck <file path> -files -blocks


On Tue, Jun 4, 2013 at 3:41 PM, zangxiangyu <zangxiangyu@qiyi.com> wrote:

>  hadoop fsck * <path>*  -files -blocks -locations –racks****
>
> ** **
>
> replace <path> with real path J****
>
> ** **
>
> *From:* 一凡 李 [mailto:zhuazhua_box@yahoo.com.cn]
> *Sent:* Tuesday, June 04, 2013 12:49 PM
> *To:* user@hadoop.apache.org
> *Subject:* how to locate the replicas of a file in HDFS?****
>
> ** **
>
> Hi,****
>
> ** **
>
> Could you tell me how to locate where store each replica of a file in HDFS?
> ****
>
> ** **
>
> Correctly speaking, if I create a file in HDFS(replicate factor:3),how to
> find the DataNodes which store its each block and replicas? ****
>
> ** **
>
>  ****
>
> Best Wishes,
> Yifan*
> ____________________*
>
> * *
>



-- 
--Regards
  Sandeep Nemuri

Mime
View raw message