[
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:06 AM:
-------------------------------------------------------------
[~leftnoteasy] ,[~liuxun323] ,
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}
--localizations hdfs:///user/yarn/script1.py->algorithm1.py
/opt/script2.py->script2.py{code}
was (Author: tangzhankun):
[~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}
--localizations 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: [email protected]
For additional commands, e-mail: [email protected]