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.

Aaron

Reply via email to