[
https://issues.apache.org/jira/browse/HIVE-11450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14708811#comment-14708811
]
Nezih Yigitbasi commented on HIVE-11450:
----------------------------------------
[~ashutoshc] Rebased & uploaded a new one, can you please retry?
> Resources are not cleaned up properly at multiple places
> --------------------------------------------------------
>
> Key: HIVE-11450
> URL: https://issues.apache.org/jira/browse/HIVE-11450
> Project: Hive
> Issue Type: Bug
> Components: JDBC
> Reporter: Nezih Yigitbasi
> Assignee: Nezih Yigitbasi
> Attachments: HIVE-11450.2.patch, HIVE-11450.3.patch,
> HIVE-11450.4.patch, HIVE-11450.patch
>
>
> I noticed that various resources aren't properly cleaned up in various
> classes. To be specific,
> * Some streams aren't properly cleaned up in
> {{beeline/src/java/org/apache/hive/beeline/BeeLine.java}} and
> {{beeline/src/java/org/apache/hive/beeline/BeeLineOpts.java}}
> * {{Statement}}, {{ResultSet}}, and {{Connection}} aren't properly cleaned up
> in {{beeline/src/java/org/apache/hive/beeline/HiveSchemaTool.java}}
> * {{Statement}} and {{ResultSet}} aren't properly cleaned up in
> {{jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)