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/12/04 15:30: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=16708874#comment-16708874 ] 

Zhankun Tang edited comment on YARN-8714 at 12/4/18 3:29 PM:
-------------------------------------------------------------

[~leftnoteasy], [~liuxun323] , While refining the patch, I found that YARN localizer seems can localize *remote directory(hdfs, s3 .etc)*. In FSDownload.java#downloadAndUnpack, it uses "FileUtil.copy" which can handle directory.

Depending on this can greatly simplify our implementation, no need to download remote dir or zip local dir anymore. I will verify and update the patch tomorrow.


was (Author: tangzhankun):
[~leftnoteasy], [~liuxun323] , While refining the patch, I found that YARN localizer seems can localize *remote directory*. In FSDownload.java#downloadAndUnpack, it uses "FileUtil.copy" which can handle directory.

Depending on this can greatly simplify our implementation, no need to download remote dir or zip local dir anymore. I will verify and update the patch tomorrow.

> [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, YARN-8714-WIP1-trunk-002.patch, YARN-8714-trunk.001.patch, YARN-8714-trunk.002.patch
>
>
> See [https://docs.google.com/document/d/199J4pB3blqgV9SCNvBbTqkEoQdjoyGMjESV4MktCo0k/edit#heading=h.vkxp9edl11m7], {{job run --localization ...}}



--
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