Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 5F4C710104 for ; Tue, 11 Jun 2013 18:47:35 +0000 (UTC) Received: (qmail 41507 invoked by uid 500); 11 Jun 2013 18:47:30 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 41424 invoked by uid 500); 11 Jun 2013 18:47:30 -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 41417 invoked by uid 99); 11 Jun 2013 18:47:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jun 2013 18:47:30 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bhuffman@etinternational.com designates 65.222.140.81 as permitted sender) Received: from [65.222.140.81] (HELO mail02.etinternational.com) (65.222.140.81) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jun 2013 18:47:25 +0000 X-Footer: ZXRpbnRlcm5hdGlvbmFsLmNvbQ== Received: from polaris.xmen.eti ([192.168.15.21]) (authenticated user bhuffman@etinternational.com) by mail02.etinternational.com (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)) for user@hadoop.apache.org; Tue, 11 Jun 2013 14:47:03 -0400 Message-ID: <51B770A5.4030509@etinternational.com> Date: Tue, 11 Jun 2013 14:47:01 -0400 From: "Brian C. Huffman" User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 MIME-Version: 1.0 To: user@hadoop.apache.org Subject: YARN Container's App ID Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org How can a YARN container get its own Application ID? I tried getting the ApplicationConstants.AM_APP_ATTEMPT_ID_ENV similar to how the Distributed Shell example does for the AppMaster, but that variable doesn't seem to exist in the environment for the container. Does the App Master have to set it? Thanks, Brian