hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anirudh <techie.anir...@gmail.com>
Subject Re: Block Location Information
Date Sat, 24 Dec 2011 19:34:54 GMT
Hi Hemanth,

You can view this on your browser pointing to your HTTP server on NN.

50070 is the default port, unless you have given it some other value in
your configuration.
Navigate to the directory where your file is and click on the file. You
will be shown all the information about the blocks on the page.

Alternatively, you can try the fsck command
hadoop fsck file_path -files -blocks -racks


On Sat, Dec 24, 2011 at 10:10 AM, Hemanth Makkapati <makka@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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message