hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Liochon <nkey...@gmail.com>
Subject Re: getFileBlockLocations
Date Fri, 04 Oct 2013 13:33:10 GMT
If the node is dead, then its blocks are not included. If the node is
stale, its blocks are returned at the end of the array. That is, for a file
with 1 block replicated 3 times on D1, D2, D3 with D1 stale and D2 dead,
the list will be D3; D1.


On Fri, Oct 4, 2013 at 3:22 PM, John Lilley <john.lilley@redpoint.net>wrote:

>  When I call getFileBlockLocations() on a DFS, will it return the blocks
> for currently-inactive nodes?  ****
>
> If so, how can I filter out the unavailable blocks?****
>
> Or more generally, how do I get the list of node status?  Is that
> ApplicationClientProtocol.getClusterNodes()?****
>
> Thanks,****
>
> John****
>
> ** **
>
> ** **
>

Mime
View raw message