Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
HDFS >> mail # user >> RE: how to locate the replicas of a file in HDFS?


+
zangxiangyu 2013-06-04, 10:11
Copy link to this message
-
Re: how to locate the replicas of a file in HDFS?
Try this command
 hadoop fsck <file path> -files -blocks
On Tue, Jun 4, 2013 at 3:41 PM, zangxiangyu <[EMAIL PROTECTED]> wrote:

>  hadoop fsck * <path>*  -files -blocks -locations –racks****
>
> ** **
>
> replace <path> with real path J****
>
> ** **
>
> *From:* 一凡 李 [mailto:[EMAIL PROTECTED]]
> *Sent:* Tuesday, June 04, 2013 12:49 PM
> *To:* [EMAIL PROTECTED]
> *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
+
Azuryy Yu 2013-06-04, 08:52
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB