hadoop fsck  <path>  -files -blocks -locations –racks

 

replace <path> with real path J

 

From: 一凡 李 [mailto:zhuazhua_...@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
____________________

 

Reply via email to