-Re: Help writing a YARN application
Arun C Murthy 2013-09-23, 23:46
I looked at your code, it's using really old apis/protocols which are significantly different now. See hadoop-2.1.0-beta release for latest apis/protocols.
Also, you should really be using yarn client module rather than raw protocols.
See https://github.com/hortonworks/simple-yarn-app for a simple example.
On Sep 20, 2013, at 11:24 AM, Pradeep Gollakota <[EMAIL PROTECTED]> wrote:
> Hi All,
> I've been trying to write a Yarn application and I'm completely lost. I'm using Hadoop 2.0.0-cdh4.4.0 (Cloudera distribution). I've uploaded my sample code to github at https://github.com/pradeepg26/sample-yarn
> The problem is that my application master is exiting with a status of 1 (I'm expecting that since my code isn't complete yet). But I have no logs that I can examine. So I'm not sure if the error I'm getting is the error I'm expecting. I've attached the nodemanger and resourcemanager logs for your reference as well.
> How can I get started on writing YARN applications beyond the initial tutorial?
> Thanks for any help/pointers!
Arun C. Murthy
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.