Return-Path: X-Original-To: apmail-hadoop-yarn-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DC38D17884 for ; Tue, 2 Jun 2015 10:23:19 +0000 (UTC) Received: (qmail 69499 invoked by uid 500); 2 Jun 2015 10:23:19 -0000 Delivered-To: apmail-hadoop-yarn-dev-archive@hadoop.apache.org Received: (qmail 69435 invoked by uid 500); 2 Jun 2015 10:23:19 -0000 Mailing-List: contact yarn-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-dev@hadoop.apache.org Delivered-To: mailing list yarn-dev@hadoop.apache.org Received: (qmail 69423 invoked by uid 99); 2 Jun 2015 10:23:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jun 2015 10:23:18 +0000 Date: Tue, 2 Jun 2015 10:23:18 +0000 (UTC) From: "Steve Loughran (JIRA)" To: yarn-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (YARN-3759) Include command line, localization info and env vars on AM launch failure MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Steve Loughran created YARN-3759: ------------------------------------ Summary: Include command line, localization info and env vars = on AM launch failure Key: YARN-3759 URL: https://issues.apache.org/jira/browse/YARN-3759 Project: Hadoop YARN Issue Type: Sub-task Components: nodemanager Affects Versions: 2.7.0 Reporter: Steve Loughran Priority: Minor While trying to diagnose AM launch failures, its important to be able to ge= t at the final, expanded {{CLASSPATH}} and other env variables. We don't ge= t that today: you can log the unexpanded values on the client, and tweak NM= ContainerExecutor log levels to DEBUG & get some of this =E2=80=94=E2=80= =9Aut you don't get it in the task logs, and tuning NM log level isn't viab= le on a large, busy cluster. Launch failures should include some env specifics: # list of env vars (ideally, full getenv values), with some stripping of "s= ensitive" options (i'm thinking AWS env vars here) # command line # path localisations These can go in the task logs, we don't need to include them in the applica= tion report. -- This message was sent by Atlassian JIRA (v6.3.4#6332)