AMResponse.getUpdatedNodes returns nodes that have been updated _since_when_ ? The doc comments leave too much to the imagination in that regard.
A reasonable assumption could be that the first time you call it that you get a full snapshot. Presumably the second (and later) calls return updates since the previous call, but even that isn't clear. On 6/22/12 3:29 PM, "Bikas Saha" <[email protected]> wrote: > >AMResponse.getUpdatedNodes() would give you only nodes that have been >updated. Say they are lost or become healthy again. So you won't get total >cluster information from that. > > >On 6/22/12 3:10 PM, "Thomas Weise" <[email protected]> wrote: > >>Hello, >> >>I'm looking for a way to initially obtain a full report of cluster >>nodes in the application master. That would be the equivalent of >>ClientRMService.getClusterNodes (which seems to be intended for use by >>the client only?) >> >>If my understanding is correct AMResponse.getUpdatedNodes would give >>me deltas that can be used subsequently to maintain the list? >> >>Thanks, >>Thomas >> > >
