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

Switch to Threaded View
HDFS >> mail # user >> How do we view the blocks of a file in HDFS

Copy link to this message
Re: How do we view the blocks of a file in HDFS

Some searching should've revealed this as it has been asked before.
For example, see http://search-hadoop.com/m/W1RAklVhe7

On Fri, Aug 24, 2012 at 10:10 PM, Abhishek Shivkumar
> hi,
>    If I push a file into HDFS that runs on a 4 node cluster with 1 namenode
> and 3 datanodes, how can I view where on the datanodes are the blocks of
> this file?
> I would like to view the blocks and their replicas individually. How can I
> do this?
> The answer is very critical for my current task which is halted :) A
> detailed answer will be highly appreciated.
> Thank you!
> With Regards,
> Abhishek S

Harsh J