[jira] [Updated] (HIVE-11450) Resources are not cleaned up properly at multiple places

2015-08-23 Thread Nezih Yigitbasi (JIRA)

 [ 
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.4.patch

> 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)


[jira] [Updated] (HIVE-11450) Resources are not cleaned up properly at multiple places

2015-08-04 Thread Nezih Yigitbasi (JIRA)

 [ 
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.3.patch

> 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.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)


[jira] [Updated] (HIVE-11450) Resources are not cleaned up properly at multiple places

2015-08-04 Thread Nezih Yigitbasi (JIRA)

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

Nezih Yigitbasi updated HIVE-11450:
---
Description: 
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}}

  was:
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}}


> 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 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)


[jira] [Updated] (HIVE-11450) Resources are not cleaned up properly at multiple places

2015-08-03 Thread Nezih Yigitbasi (JIRA)

 [ 
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)


[jira] [Updated] (HIVE-11450) Resources are not cleaned up properly at multiple places

2015-08-03 Thread Nezih Yigitbasi (JIRA)

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

Nezih Yigitbasi updated HIVE-11450:
---
Description: 
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}}

  was:I noticed that various resources aren't properly cleaned in various 
classes. 


> 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)


[jira] [Updated] (HIVE-11450) Resources are not cleaned up properly at multiple places

2015-08-03 Thread Nezih Yigitbasi (JIRA)

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

Nezih Yigitbasi updated HIVE-11450:
---
Description: I noticed that various resources aren't properly cleaned in 
various classes.   (was: the {{getSchema()}} method doesn't cleanup the 
resources properly on exception.)

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



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


[jira] [Updated] (HIVE-11450) Resources are not cleaned up properly at multiple places

2015-08-03 Thread Nezih Yigitbasi (JIRA)

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

Nezih Yigitbasi updated HIVE-11450:
---
Summary: Resources are not cleaned up properly at multiple places  (was: 
HiveConnection doesn't cleanup resources properly)

> 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.patch
>
>
> the {{getSchema()}} method doesn't cleanup the resources properly on 
> exception.



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