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 "Gergo Repas (JIRA)" <ji...@apache.org> on 2018/02/02 11:31:00 UTC

[jira] [Comment Edited] (YARN-7876) Workaround ZipInputStream limitation for YARN-2185

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

Gergo Repas edited comment on YARN-7876 at 2/2/18 11:30 AM:
------------------------------------------------------------

Thanks [~miklos.szegedi@cloudera.com] for the patch.

Nit: there is already a BUFFER_SIZE constant used for the copyBytes calls, it would be better to use that constant in the new section in RunJar.java.


was (Author: grepas):
Nit: there is already a BUFFER_SIZE constant used for the copyBytes calls, it would be better to use that constant in the new section in RunJar.java.

> Workaround ZipInputStream limitation for YARN-2185
> --------------------------------------------------
>
>                 Key: YARN-7876
>                 URL: https://issues.apache.org/jira/browse/YARN-7876
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Miklos Szegedi
>            Assignee: Miklos Szegedi
>            Priority: Major
>         Attachments: YARN-7876.000.patch
>
>
> YARN-2185 added the ability to localize jar files as a stream instead of copying to local disk and then extracting. ZipInputStream does not need the end of the file. Let's read it out. This helps with an additional TeeInputStream on the input.



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