From yarn-issues-return-157852-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Wed Nov 14 08:53:05 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 5B518180676 for ; Wed, 14 Nov 2018 08:53:05 +0100 (CET) Received: (qmail 62280 invoked by uid 500); 14 Nov 2018 07:53:04 -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 62267 invoked by uid 99); 14 Nov 2018 07:53:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2018 07:53:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 9C1B4C942D for ; Wed, 14 Nov 2018 07:53:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id E2ReJxgGA1vB for ; Wed, 14 Nov 2018 07:53:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id BDEF262202 for ; Wed, 14 Nov 2018 07:53:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A40C8E2072 for ; Wed, 14 Nov 2018 07:53:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 51A4225274 for ; Wed, 14 Nov 2018 07:53:00 +0000 (UTC) Date: Wed, 14 Nov 2018 07:53:00 +0000 (UTC) From: "Xun Liu (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (YARN-8714) [Submarine] Support files/tarballs to be localized for a training job. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-8714?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16684= 794#comment-16684794 ]=20 Xun Liu edited comment on YARN-8714 at 11/14/18 7:52 AM: --------------------------------------------------------- 1) Support for multiple files or directories. 2)=C2=A0Must maintain the original state, such as folder subdirectory struc= ture, zip file or normal file, do not make any changes. 3)=C2=A0Mount the specified file or folder to the absolute path in the cont= ainer. Because the user can customize the WORKDIR of the container through = the Dockerfile, And the containers are dedicated and custom made, So the us= er knows exactly where to mount the file. 4)=C2=A0Keep consistent with the use of docker, use`{color:#FF0000}:{color}= ` split source directory and destination directory. 5) Parameter format: -localizations hdfs:///user/yarn{color:#FF0000}:{color= }/absolute/path was (Author: liuxun323): # Support files and folders # HDFS type and local file type supporting HDFS:// prefix at the same time # Keep it intact: the uploaded package is compressed, and the submarine is= automatically decompressed into the container, which is not suitable, beca= use if I rush to save the file that needs to upload the compressed package = format, it will be destroyed. And it also introduces ambiguity. # Parameter format: {color:#FF0000}-localizations hdfs:///user/yarn>{color= :#ff0000}.{color}{color} # indicates the current execution path of the cont= ainer # Parameter format: {color:#FF0000}-localizations hdfs:///user/yarn>./abc{= color} # Indicates the abc folder under the current execution path of the c= ontainer (submarine marks the file under hdfs:///user/yarn as an abc .tar.g= z compression package, extract the abc folder when pulling up the container= , then mount it in it) > [Submarine] Support files/tarballs to be localized for a training job. > ---------------------------------------------------------------------- > > Key: YARN-8714 > URL: https://issues.apache.org/jira/browse/YARN-8714 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Wangda Tan > Assignee: Zhankun Tang > Priority: Major > Attachments: YARN-8714-WIP1-trunk-001.patch > > > See https://docs.google.com/document/d/199J4pB3blqgV9SCNvBbTqkEoQdjoyGMjE= SV4MktCo0k/edit#heading=3Dh.vkxp9edl11m7, {{job run --localizations ...}} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org