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 ____________________
