Hi Harsh,

Thank you!
This is exactly what I wanted.

Happy Holidays!

Regards,
Hemanth Makkapati

On Sat, Dec 24, 2011 at 10:11 PM, Harsh J <ha...@cloudera.com> wrote:

> You need:
> http://hadoop.apache.org/common/docs/current/api/org/apache/hadoop/fs/FileSystem.html#getFileBlockLocations(org.apache.hadoop.fs.FileStatus
> ,
> long, long)
>
> On Sat, Dec 24, 2011 at 11:40 PM, Hemanth Makkapati <ma...@vt.edu> wrote:
> > Hi,
> >
> > In HDFS, how do I find out what are all the blocks that belong to a
> > particular file and where each one of these blocks (incl. the replicas)
> is
> > located?
> >
> > Thank you.
> >
> > Regards,
> > Hemanth Makkapati
>
>
>
> --
> Harsh J
>

Reply via email to