Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CE3DBEF23 for ; Mon, 11 Mar 2013 18:25:13 +0000 (UTC) Received: (qmail 83759 invoked by uid 500); 11 Mar 2013 18:25:13 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 83722 invoked by uid 500); 11 Mar 2013 18:25:13 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 83713 invoked by uid 99); 11 Mar 2013 18:25:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Mar 2013 18:25:13 +0000 Date: Mon, 11 Mar 2013 18:25:13 +0000 (UTC) From: "Xuan Gong (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-71) Ensure/confirm that the NodeManager cleans up local-dirs on restart MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13599091#comment-13599091 ] Xuan Gong commented on YARN-71: ------------------------------- The approach I am using: 1. rename the folder (local files are not always belong to NM_user, So, rename the parent folder instead of files) 2. find the files' or dir's ownership and schedule the deletion, then delete them at the back-end. > Ensure/confirm that the NodeManager cleans up local-dirs on restart > ------------------------------------------------------------------- > > Key: YARN-71 > URL: https://issues.apache.org/jira/browse/YARN-71 > Project: Hadoop YARN > Issue Type: Bug > Components: nodemanager > Reporter: Vinod Kumar Vavilapalli > Assignee: Xuan Gong > Priority: Critical > Attachments: YARN-71.1.patch, YARN-71.2.patch, YARN-71.3.patch, YARN.71.4.patch > > > We have to make sure that NodeManagers cleanup their local files on restart. > It may already be working like that in which case we should have tests validating this. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira