hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-13405) Fix Connection Leak in OrcRawRecordMerger
Date Thu, 07 Apr 2016 22:04:25 GMT

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

Sergey Shelukhin commented on HIVE-13405:
-----------------------------------------

+0.9. [~prasanth_j] does this make sense?

> Fix Connection Leak in OrcRawRecordMerger
> -----------------------------------------
>
>                 Key: HIVE-13405
>                 URL: https://issues.apache.org/jira/browse/HIVE-13405
>             Project: Hive
>          Issue Type: Bug
>          Components: ORC
>    Affects Versions: 2.0.0
>            Reporter: Thomas Poepping
>            Assignee: Thomas Poepping
>         Attachments: HIVE-13405.patch
>
>
> In OrcRawRecordMerger.getLastFlushLength, if the opened stream throws an IOException
on .available() or on .readLong(), the function will exit without closing the stream.
> This patch adds a try-with-resources to fix this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message