|
|
-
Re: Hadoop 2.0 / YARN - getting full node report in application masterArun C Murthy 2012-06-25, 00:46
It's fine to use ClientRMService.getNodes from the AM too, you'll need to instantiate an extra proxy of course.
On Jun 22, 2012, at 3:37 PM, Thomas Weise wrote: > That's right, how to fetch the full list from app master? > > On Fri, Jun 22, 2012 at 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 >>> >> >> -- Arun C. Murthy Hortonworks Inc. http://hortonworks.com/ |