Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HDFS, mail # user - Yarn communication between containers


+
blah blah 2013-03-27, 12:08
Copy link to this message
-
Re: Yarn communication between containers
Sandy Ryza 2013-03-27, 18:52
Hi tmp,

YARN doesn't provide an explicit protocol for doing this.  Applications are
expected to have their own mechanism for communication between task
containers, other task containers, and app masters.  If you want to see how
this is done in MapReduce, I would suggest looking at the
TaskUmbilicalProtocol, which is implemented on the AM side by
TaskAttemptListenerImpl and created on the Container side in YarnChild.
 Through such a protocol, you could give containers the locations of other
containers that would allow them to communicate correctly.

-Sandy

On Wed, Mar 27, 2013 at 5:08 AM, blah blah <[EMAIL PROTECTED]> wrote:

> Hi
>
> I would like the containers to communicate with each other (also some
> heart beats to AppMaster). How can I achieve this? Is there some code
> snippet in the Yarn project or tutorial, that could guide me on
> implementing this functionality?
>
> regards
> tmp
>