Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C0D10102EF for ; Sat, 23 Nov 2013 19:17:29 +0000 (UTC) Received: (qmail 9430 invoked by uid 500); 23 Nov 2013 19:17:25 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 9313 invoked by uid 500); 23 Nov 2013 19:17:25 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 9306 invoked by uid 99); 23 Nov 2013 19:17:25 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Nov 2013 19:17:25 +0000 Received: from localhost (HELO [10.0.0.6]) (127.0.0.1) (smtp-auth username hitesh, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Nov 2013 19:17:24 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1085) Subject: Re: Unmanaged AMs From: Hitesh Shah In-Reply-To: Date: Sat, 23 Nov 2013 11:17:23 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <026998A4-DABE-484E-8735-91D9587193FD@apache.org> References: To: user@hadoop.apache.org X-Mailer: Apple Mail (2.1085) Hello Kishore,=20 An unmanaged AM has no relation to the language being used. An unmanaged = AM is an AM that is launched outside of the YARN cluster i.e. manually = launched elsewhere and not by the RM ( using the application submission = context provided by a client). It was built to be a dev-tool for = application developers to be able to test their AMs ( attach debuggers, = etc ) and is not meant to be something that is used in production. As for other languages, all interactions with the YARN components is via = protobuf-based RPC and you could use the appropriate language binding = for protobuf. Take a look at https://github.com/hortonworks/gohadoop - = this has code for a YARN app written in Go. There is still some work = left to get this to work seamlessly for all language types but the go = code should point you in the right direction. -- Hitesh On Nov 21, 2013, at 6:18 AM, Krishna Kishore Bonagiri wrote: > Hi, >=20 > I have seen in comments for code in UnmanagedAMLauncher.java that AM = can be in any language. What does that mean? Can AM be written in C++ = language? If so, how would I be able to be connect to RM and how would I = be able to request for containers? I mean what is the interface doing = these things? Is there a sample code/example somewhere to get an idea = about how to do it? >=20 > Thanks, > Kishore