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 91FB4D332 for ; Wed, 12 Dec 2012 14:59:24 +0000 (UTC) Received: (qmail 20979 invoked by uid 500); 12 Dec 2012 14:59:23 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 20860 invoked by uid 500); 12 Dec 2012 14:59:23 -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 20777 invoked by uid 99); 12 Dec 2012 14:59:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Dec 2012 14:59:22 +0000 Date: Wed, 12 Dec 2012 14:59:22 +0000 (UTC) From: "Tom White (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-253) Container launch may fail if no files were localized 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-253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13530009#comment-13530009 ] Tom White commented on YARN-253: -------------------------------- Thanks Vinod. Looking at LCE, it seems to handle this case already since create_container_directories uses mkdirs which will create parent directories as needed. I'll create another patch which removes the comment and temp files. > Container launch may fail if no files were localized > ---------------------------------------------------- > > Key: YARN-253 > URL: https://issues.apache.org/jira/browse/YARN-253 > Project: Hadoop YARN > Issue Type: Bug > Components: nodemanager > Affects Versions: 2.0.2-alpha > Reporter: Tom White > Assignee: Tom White > Priority: Blocker > Attachments: YARN-253.patch, YARN-253-test.patch > > > This can be demonstrated with DistributedShell. The containers running the shell do not have any files to localize (if there is no shell script to copy) so if they run on a different NM to the AM (which does localize files), then they will fail since the appcache directory does not exist. -- 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