Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5FA1C200BB6 for ; Fri, 4 Nov 2016 18:42:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5E29B160B04; Fri, 4 Nov 2016 17:42:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A2719160AEA for ; Fri, 4 Nov 2016 18:41:59 +0100 (CET) Received: (qmail 41948 invoked by uid 500); 4 Nov 2016 17:41:58 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 41913 invoked by uid 99); 4 Nov 2016 17:41:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2016 17:41:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8C92F2C2A67 for ; Fri, 4 Nov 2016 17:41:58 +0000 (UTC) Date: Fri, 4 Nov 2016 17:41:58 +0000 (UTC) From: "Vinod Kumar Vavilapalli (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-5658) YARN should have a hook to delete a path from HDFS when an application ends MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 04 Nov 2016 17:42:00 -0000 [ https://issues.apache.org/jira/browse/YARN-5658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15637118#comment-15637118 ] Vinod Kumar Vavilapalli commented on YARN-5658: ----------------------------------------------- I agree with [~rohithsharma]. This is a dup of YARN-2261. bq. Spark could adapt their AM to use YARN-2261, but Hive couldn't Assuming Hive is running on YARN through one of MR, Tez, Spark, one of those AMs should do this cleanup. If not, the cleanup should happen in HiveServer which is the long running client for Hive. We don't want to run any code on the ResourceManager. If we run it on a NodeManager, that's the same as a cleanup-container (YARN-2261). > YARN should have a hook to delete a path from HDFS when an application ends > --------------------------------------------------------------------------- > > Key: YARN-5658 > URL: https://issues.apache.org/jira/browse/YARN-5658 > Project: Hadoop YARN > Issue Type: Improvement > Components: resourcemanager > Reporter: Daniel Templeton > Assignee: Daniel Templeton > > There are many cases when a client uploads data to HDFS and then needs to subsequently clean it up, such as with the distributed cache. It would be helpful if YARN would do that cleanup automatically on job completion. > The hook could be generic to an URI supported by {{FileSystem}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org