hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arun C Murthy <...@hortonworks.com>
Subject Re: Hadoop 2.0 / YARN - getting full node report in application master
Date Mon, 25 Jun 2012 00:46:32 GMT
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 <bikas@hortonworks.com> 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" <thomas.weise@googlemail.com> 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/



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message