[
https://issues.apache.org/jira/browse/HIVE-7929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
skrho updated HIVE-7929:
------------------------
Attachment: HIVE-7929_002.patch
zos.closeEntry() is called twice if manifestFile is not existed. So I moved
zos.closeEntry() to last try statement..
Please review my patch 2 ^^ ..
> close of ZipOutputStream in Utils#jarDir() should be placed in finally block
> ----------------------------------------------------------------------------
>
> Key: HIVE-7929
> URL: https://issues.apache.org/jira/browse/HIVE-7929
> Project: Hive
> Issue Type: Bug
> Affects Versions: 0.13.1
> Reporter: skrho
> Assignee: skrho
> Priority: Minor
> Labels: patch
> Attachments: HIVE-7929_001.patch, HIVE-7929_002.patch
>
>
> In accumulo-handler/src/java/org/apache/hadoop/hive/accumulo/Utils.java ,
> line 308 :
> zos.closeEntry();
> zipDir(dir, relativePath, zos, true);
> zos.close();
> If exception is happened, ZipOutputStream would be left unclosed..
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)