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 17B0E174AF for ; Thu, 26 Mar 2015 22:57:18 +0000 (UTC) Received: (qmail 16035 invoked by uid 500); 26 Mar 2015 22:57:15 -0000 Delivered-To: apmail-hadoop-yarn-dev-archive@hadoop.apache.org Received: (qmail 15983 invoked by uid 500); 26 Mar 2015 22:57:15 -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 15692 invoked by uid 99); 26 Mar 2015 22:57:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Mar 2015 22:57:14 +0000 X-ASF-Spam-Status: No, hits=1.0 required=5.0 tests=FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of vinodkv@hortonworks.com designates 64.78.52.187 as permitted sender) Received: from [64.78.52.187] (HELO relayvx12c.securemail.intermedia.net) (64.78.52.187) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Mar 2015 22:57:08 +0000 Received: from securemail.intermedia.net (localhost [127.0.0.1]) by emg-ca-1-2.localdomain (Postfix) with ESMTP id 0B0CF53EBB for ; Thu, 26 Mar 2015 15:56:48 -0700 (PDT) Subject: Re: Retention policy on Yarn application's file cache MIME-Version: 1.0 x-echoworx-emg-received: Thu, 26 Mar 2015 15:56:47.995 -0700 x-echoworx-msg-id: 233069bb-f90c-4e94-898c-750880e59d4d x-echoworx-action: delivered Received: from 10.254.155.17 ([10.254.155.17]) by emg-ca-1-2 (JAMES SMTP Server 2.3.2) with SMTP ID 536 for ; Thu, 26 Mar 2015 15:56:47 -0700 (PDT) Received: from MBX080-W4-CO-1.exch080.serverpod.net (unknown [10.224.117.101]) by emg-ca-1-2.localdomain (Postfix) with ESMTP id C902953EBB for ; Thu, 26 Mar 2015 15:56:47 -0700 (PDT) Received: from MBX080-W4-CO-2.exch080.serverpod.net (10.224.117.102) by MBX080-W4-CO-1.exch080.serverpod.net (10.224.117.101) with Microsoft SMTP Server (TLS) id 15.0.1044.25; Thu, 26 Mar 2015 15:56:46 -0700 Received: from MBX080-W4-CO-2.exch080.serverpod.net ([10.224.117.102]) by mbx080-w4-co-2.exch080.serverpod.net ([10.224.117.102]) with mapi id 15.00.1044.021; Thu, 26 Mar 2015 15:56:46 -0700 From: Vinod Kumar Vavilapalli To: "yarn-dev@hadoop.apache.org" Thread-Topic: Retention policy on Yarn application's file cache Thread-Index: AQHQaAw/cXF16+hEZESUgzL7J68Ijp0v1YOA Date: Thu, 26 Mar 2015 22:56:46 +0000 Message-ID: <99373028-7670-4283-860A-6A92689D5195@hortonworks.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [192.175.27.12] x-source-routing-agent: Processed Content-Type: text/plain; charset="Windows-1252" Content-ID: Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Log directories are treated separate from the local directories. Retention of files in the local cache is debug-delay-sec which is an admin = server-side configuration. Applications cannot control it. +Vinod On Mar 26, 2015, at 2:31 PM, Navina Ramesh w= rote: > Hi yarn-dev, > I am trying to understand the extent to which the NMs support retaining a= pplication related cache. >=20 > =93yarn.nodemanager.delete.debug-delay-sec=94 can be used to control the = number of seconds after an application finishes before the NM's DeletionSer= vice will delete the application's localized file directory and log directo= ry. >=20 > Is there a way to control the retention period for the localized file dir= ectory independent of the log directory ? That is, if I want to retain cert= ain application data longer than the log's retention, is there a way to do = it in YARN ? >=20 > Thanks! > Navina