[ 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.szeg...@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-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org