Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> how to locate the replicas of a file in HDFS?


Copy link to this message
-
Re: how to locate the replicas of a file in HDFS?
hadoop fsck mytext.txt -files -locations -blocks

Thanks,
Rahul

On Tue, Jun 4, 2013 at 10:19 AM, 一凡 李 <[EMAIL PROTECTED]> wrote:

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