You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Gabor Liptak (JIRA)" <ji...@apache.org> on 2015/06/12 23:23:00 UTC

[jira] [Commented] (HIVE-7150) FileInputStream is not closed in HiveConnection#getHttpClient()

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

Gabor Liptak commented on HIVE-7150:
------------------------------------

Any other improvements needed before this can be considered for merging? Thanks

> FileInputStream is not closed in HiveConnection#getHttpClient()
> ---------------------------------------------------------------
>
>                 Key: HIVE-7150
>                 URL: https://issues.apache.org/jira/browse/HIVE-7150
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ted Yu
>              Labels: jdbc
>         Attachments: HIVE-7150.1.patch, HIVE-7150.2.patch
>
>
> Here is related code:
> {code}
>             sslTrustStore.load(new FileInputStream(sslTrustStorePath),
>                 sslTrustStorePassword.toCharArray());
> {code}
> The FileInputStream is not closed upon returning from the method.



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