[ 
https://issues.apache.org/jira/browse/HIVE-11450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nezih Yigitbasi updated HIVE-11450:
-----------------------------------
    Attachment: HIVE-11450.2.patch

Updating the patch to fix other resource cleanup issues.

> 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.patch
>
>
> I noticed that various resources aren't properly cleaned 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)

Reply via email to