On May 19, 2009, at 12:13 AM, Foss User wrote:

I know that if a file is very large, it will be split into blocks and
the blocks would be spread out in various data nodes. I want to know
whether I can find out through GUI or logs exactly where which data
nodes contain which file blocks of a particular huge text file?

http://hadoop.apache.org/core/docs/r0.20.0/api/org/apache/hadoop/fs/FileSystem.html#listStatus(org.apache.hadoop.fs.Path)
followed by
http://hadoop.apache.org/core/docs/r0.20.0/api/org/apache/hadoop/fs/FileSystem.html#getFileBlockLocations(org.apache.hadoop.fs.FileStatus,%20long,%20long)

Arun

Reply via email to