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 EAE3917F04 for ; Wed, 4 Feb 2015 17:34:34 +0000 (UTC) Received: (qmail 10704 invoked by uid 500); 4 Feb 2015 17:34:35 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 10650 invoked by uid 500); 4 Feb 2015 17:34:35 -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 10638 invoked by uid 99); 4 Feb 2015 17:34:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2015 17:34:35 +0000 Date: Wed, 4 Feb 2015 17:34:35 +0000 (UTC) From: "Jason Lowe (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-3089) LinuxContainerExecutor does not handle file arguments to deleteAsUser 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-3089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14305562#comment-14305562 ] Jason Lowe commented on YARN-3089: ---------------------------------- Thanks for updating the patch, Eric! I have one last nit that I should have caught last time: The following code should just be replaced with a strdup call. {code} full_path = concatenate("%s", "user baseDir", 1, *ptr); {code} Other than that patch looks good. > LinuxContainerExecutor does not handle file arguments to deleteAsUser > --------------------------------------------------------------------- > > Key: YARN-3089 > URL: https://issues.apache.org/jira/browse/YARN-3089 > Project: Hadoop YARN > Issue Type: Bug > Affects Versions: 2.6.0 > Reporter: Jason Lowe > Assignee: Eric Payne > Priority: Blocker > Attachments: YARN-3089.v1.txt, YARN-3089.v2.txt > > > YARN-2468 added the deletion of individual logs that are aggregated, but this fails to delete log files when the LCE is being used. The LCE native executable assumes the paths being passed are paths and the delete fails. -- This message was sent by Atlassian JIRA (v6.3.4#6332)