You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Zhankun Tang (JIRA)" <ji...@apache.org> on 2018/11/07 02:05:00 UTC

[jira] [Comment Edited] (YARN-8714) [Submarine] Support files/tarballs to be localized for a training job.

    [ https://issues.apache.org/jira/browse/YARN-8714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16677533#comment-16677533 ] 

Zhankun Tang edited comment on YARN-8714 at 11/7/18 2:04 AM:
-------------------------------------------------------------

[~leftnoteasy] ,

The "->" means we want the original File in the left to be localized to a named File in the right.

This example below means the job wants two files to be localized. The first is "hdfs:///user/yarn/script1.py" to be localized into worker's dir and named "algorithm1.py", and the second local file "/opt/script2.py" to be localized into worker's dir as "script2.py".

The underlying differences is that we don't upload "hdfs:///.." to HDFS again.
{code:java}
--localization hdfs:///user/yarn/script1.py->algorithm1.py /opt/script2.py->script2.py{code}


was (Author: tangzhankun):
[~leftnoteasy] ,

The "->" means we want the File in the left to be localized to a name in the right.

This example below means the job wants two files to be localized. The first is "hdfs:///user/yarn/script1.py" to be localized into worker's dir and named "algorithm1.py", and the second local file "/opt/script2.py" to be localized into worker's dir as "script2.py".

The underlying differences is that we don't upload "hdfs:///.." to HDFS again.
{code:java}
--localization hdfs:///user/yarn/script1.py->algorithm1.py /opt/script2.py->script2.py{code}

> [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/199J4pB3blqgV9SCNvBbTqkEoQdjoyGMjESV4MktCo0k/edit#heading=h.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