You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Thomas Poepping (JIRA)" <ji...@apache.org> on 2016/04/01 19:17:25 UTC
[jira] [Created] (HIVE-13405) Fix Connection Leak in
OrcRawRecordMerger
Thomas Poepping created HIVE-13405:
--------------------------------------
Summary: 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
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)