Return-Path: X-Original-To: apmail-apex-dev-archive@minotaur.apache.org Delivered-To: apmail-apex-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 34DBF18D7C for ; Tue, 25 Aug 2015 02:57:23 +0000 (UTC) Received: (qmail 98709 invoked by uid 500); 25 Aug 2015 02:57:20 -0000 Delivered-To: apmail-apex-dev-archive@apex.apache.org Received: (qmail 98664 invoked by uid 500); 25 Aug 2015 02:57:20 -0000 Mailing-List: contact dev-help@apex.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apex.incubator.apache.org Delivered-To: mailing list dev@apex.incubator.apache.org Received: (qmail 97620 invoked by uid 99); 25 Aug 2015 02:57:19 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Aug 2015 02:57:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id D23FD182343 for ; Tue, 25 Aug 2015 02:57:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.693 X-Spam-Level: X-Spam-Status: No, score=0.693 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.006, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=capitalone.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Ydt7jg0mScWZ for ; Tue, 25 Aug 2015 02:57:08 +0000 (UTC) Received: from komail03.capitalone.com (outk.capitalone.com [199.244.214.13]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id E5835506FC for ; Tue, 25 Aug 2015 02:57:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=capitalone.com; l=2785; q=dns/txt; s=SM2048Mar2015K; t=1440471427; x=1440557827; h=from:to:date:subject:message-id:references:in-reply-to: mime-version:content-transfer-encoding; bh=t+tNJCnWzFjBzsOqXkg+/bij/869v+2yw2oTUqpqsF0=; b=G/hzo5vVMoJUz1+Yn4cFKou4l/qw+XJcIS3tDkhnxw5eoa9kNv5V3Kvy 754MwjoBBBWhkwsi4v4AL0qo1ugaf97itlxG3yB9IrcEUhRMaWOiQDdKE sOO61AmHL8HSdbZ70ydF9+OisIdoWVwRKW56M8LCQT4Nw1isMU6snuwEo bmkrmfYUmMxiXobTBZmXZMIBh4kLhW0/ouD7SaYNETn9Hu/CWEuc0gopw borivd+6TcwDQXzFxJAIjs74JDpiWwjRWQ+I1fSr5S3J02Nh1BzEs6Sa0 iIPiqyUTyT2ISFJ/+tuksLyQsM90eCI8zidEZ3VDTKef2mWAifT2Ovz50 w==; X-IronPort-AV: E=McAfee;i="5700,7163,7903"; a="268562425" X-IronPort-AV: E=Sophos;i="5.15,743,1432612800"; d="scan'208";a="268562425" Received: from kdcpexcasht03.cof.ds.capitalone.com ([10.37.194.13]) by komail03.kdc.capitalone.com with ESMTP; 24 Aug 2015 22:57:07 -0400 Received: from KDCPEXCMB01.cof.ds.capitalone.com ([169.254.1.187]) by kdcpexcasht03.cof.ds.capitalone.com ([10.37.194.13]) with mapi; Mon, 24 Aug 2015 22:57:07 -0400 From: "Ganelin, Ilya" To: "dev@apex.incubator.apache.org" Date: Mon, 24 Aug 2015 22:57:08 -0400 Subject: Re: Retrieving logs Thread-Topic: Retrieving logs Thread-Index: AdDe4boRCUdvzlo3TCWxnuzvfTA2nA== Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.5.3.150624 acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Apologies! This was a half-baked e-mail that I didn=B9t intend to send. For others=B9 reference, one may also be able to use. yarn logs -applicationId APP_ID -ContainerId ContainerID to get logs for a specific container. One other thing that we=B9re seeing is that the yarn logs are saved by node, rather than by container. E.g. /tmp/logs/yarn_logs/NODE_1 /tmp/logs/yarn_logs/NODE_2 /tmp/logs/yarn_logs/NODE_3 Is this by design? Is there a way to change it so logs are output per container? This would greatly facilitate debugging since then we would have a unique log per JVM. Thank you! On 8/24/15, 7:53 PM, "Chinmay Kolhatkar" wrote: >Hi, > >If you have applicationId of the application you can use following command >to get all the logs of all the containers: > >yarn logs -applicationId > >Output of this command will be huge, so you might want to redirect the >output to a file for analysis. > >-Chinmay. > > >On Tue, Aug 25, 2015 at 6:32 AM, Ganelin, Ilya > >wrote: > >> Hi all =AD we=B9re seeing failures in individual containers and wanted to >> figure out how to retrieve logs. >> ________________________________________________________ >> >> The information contained in this e-mail is confidential and/or >> proprietary to Capital One and/or its affiliates and may only be used >> solely in performance of work or services for Capital One. The >>information >> transmitted herewith is intended only for use by the individual or >>entity >> to which it is addressed. If the reader of this message is not the >>intended >> recipient, you are hereby notified that any review, retransmission, >> dissemination, distribution, copying or other use of, or taking of any >> action in reliance upon this information is strictly prohibited. If you >> have received this communication in error, please contact the sender and >> delete the material from your computer. >> ________________________________________________________ The information contained in this e-mail is confidential and/or proprietary= to Capital One and/or its affiliates and may only be used solely in perfor= mance of work or services for Capital One. The information transmitted here= with is intended only for use by the individual or entity to which it is ad= dressed. If the reader of this message is not the intended recipient, you a= re hereby notified that any review, retransmission, dissemination, distribu= tion, copying or other use of, or taking of any action in reliance upon thi= s information is strictly prohibited. If you have received this communicati= on in error, please contact the sender and delete the material from your co= mputer.