hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stanley Shi <s...@gopivotal.com>
Subject Re: How to get locations of blocks programmatically?‏
Date Mon, 31 Mar 2014 08:19:39 GMT
FileSystem.getFileBlockLocations(...)

Regards,
*Stanley Shi,*



On Fri, Mar 28, 2014 at 10:03 AM, Libo Yu <yu_libo@hotmail.com> wrote:

> Hi all,
>
> "hadoop path fsck -files -block -locations" can list locations for all
> blocks in the path.
> Is it possible to list all blocks and the block locations for a given path
> programmatically?
> Thanks,
>
> Libo
>

Mime
View raw message