Tez doesn't use the low level api, it use AMRMClientAsync which has shaded 
AllocateResponse.

https://github.com/apache/hadoop/blob/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/api/async/impl/AMRMClientAsyncImpl.java



Best Regard,
Jeff Zhang


From: Robert Grandl <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>, Robert Grandl 
<[email protected]<mailto:[email protected]>>
Date: Monday, January 11, 2016 at 7:10 PM
To: User <[email protected]<mailto:[email protected]>>, 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Response from RM

Hi guys,

I am having a setup where I am running Tez 0.7.0 and Hadoop 2.6.0.

I am trying to propagate some additional information from RM to Tez AM. To do 
that, I was modifying the heartbeat response datastructure from RM to introduce 
an additional field. I modified AllocareResponseProto datastructure from 
yarn_service_protos.proto and the inherent classes in Yarn.

However, I could not find where in Tez the heartbeat response is received and 
hence where to get my additional information, propagated back from Yarn.

Thanks in advance,
Robert

Reply via email to