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 D505F200B8D for ; Fri, 9 Sep 2016 06:15:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D3997160AD4; Fri, 9 Sep 2016 04:15:22 +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 27AAC160AAD for ; Fri, 9 Sep 2016 06:15:22 +0200 (CEST) Received: (qmail 64807 invoked by uid 500); 9 Sep 2016 04:15:21 -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 64752 invoked by uid 99); 9 Sep 2016 04:15:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Sep 2016 04:15:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CBB952C1B83 for ; Fri, 9 Sep 2016 04:15:20 +0000 (UTC) Date: Fri, 9 Sep 2016 04:15:20 +0000 (UTC) From: "Jian He (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (YARN-5621) Support LinuxContainerExecutor to create symlinks MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 09 Sep 2016 04:15:23 -0000 [ https://issues.apache.org/jira/browse/YARN-5621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15475838#comment-15475838 ] Jian He edited comment on YARN-5621 at 9/9/16 4:14 AM: ------------------------------------------------------- Hi Chris, thanks for chime in. bq. Is the patch intended for another JIRA Yes, the patch is intended for the parent jira to create the new symlinks when new resource is localized. bq. LCE already supports symlink, right? No, It doesn't support it today. If I'm not missing something, only the container_launch script internally will also create all the symlinks needed before it launches the container. Also, it's a script because it's not just a single ln operation, it also needs to create any missing parent directories if needed as done in current container_launch script. bq. Why relax this constraint? Because the passed in symlink path is an absolute path was (Author: jianhe): Hi Chris, thanks for chime in. bq. Is the patch intended for another JIRA Yes, the patch is intended for the parent jira to create the new symlinks when new resource is localized. bq. LCE already supports symlink, right? No, It doesn't support it today. If I'm not missing something, only the container_launch script internally will also create all the symlinks needed before it launches the container. bq. Why relax this constraint? Because the passed in symlink path is an absolute path > Support LinuxContainerExecutor to create symlinks > ------------------------------------------------- > > Key: YARN-5621 > URL: https://issues.apache.org/jira/browse/YARN-5621 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Jian He > Assignee: Jian He > Attachments: YARN-5621.1.patch, YARN-5621.2.patch, YARN-5621.3.patch > > > When new resources are localized, new symlink needs to be created for the localized resource. This is the change for the LinuxContainerExecutor to create the symlinks. -- 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