On 10/13/10 8:14 AM, Aaron Myers wrote:
Hi Adam,

On Mon, Oct 11, 2010 at 8:40 PM, adamphelps<[email protected]>  wrote:

Is there a command that will display which nodes the blocks of a file are
replicated to?


Try the command:

hadoop fsck<path>  -locations -blocks -files

That will print details (including locations) for every file under
<path>. I'm pretty sure you can give it either a single file or a
directory, in which case it will show you the details for every file
under that directory.

Hope that helps.

Yes, that does exactly what I needed. Thanks to you and the people that responded off-list.

- Adam

Reply via email to