Hi Libo, DFSClient.getBlockLocations, is this what you want? Regards, Wangda Tan
On Fri, Mar 28, 2014 at 10:03 AM, Libo Yu <yu_l...@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 >