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 6DA5617E6E for ; Tue, 30 Sep 2014 09:55:34 +0000 (UTC) Received: (qmail 98895 invoked by uid 500); 30 Sep 2014 09:55:34 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 98852 invoked by uid 500); 30 Sep 2014 09:55:34 -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 98841 invoked by uid 99); 30 Sep 2014 09:55:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Sep 2014 09:55:33 +0000 Date: Tue, 30 Sep 2014 09:55:33 +0000 (UTC) From: "Remus Rusanu (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-2623) Linux container executor only use the first local directory to copy token file in container-executor.c. 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-2623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14153023#comment-14153023 ] Remus Rusanu commented on YARN-2623: ------------------------------------ Note that DCE also picks first local dir, DefaultContainerExecutor.java@99: {code} // TODO: Why pick first app dir. The same in LCE why not random? Path appStorageDir = getFirstApplicationDir(localDirs, user, appId); {code} > Linux container executor only use the first local directory to copy token file in container-executor.c. > ------------------------------------------------------------------------------------------------------- > > Key: YARN-2623 > URL: https://issues.apache.org/jira/browse/YARN-2623 > Project: Hadoop YARN > Issue Type: Bug > Components: nodemanager > Affects Versions: 2.5.0 > Environment: Linux container executor only use the first local directory to copy token file in container-executor.c. > Reporter: zhihai xu > Assignee: zhihai xu > > Linux container executor only use the first local directory to copy token file in container-executor.c. if It failed to copy token file to the first local directory, the localization failure event will happen. Even though it can copy token file to the other local directory successfully. The correct way should be to copy token file to the next local directory if the first one failed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)