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/04/10 02:27:14 UTC
[jira] [Updated] (HIVE-7150) FileInputStream is not closed in
HiveConnection#getHttpClient()
[ https://issues.apache.org/jira/browse/HIVE-7150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gabor Liptak updated HIVE-7150:
-------------------------------
Attachment: HIVE-7150.patch
> 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
> Fix For: 1.2.0
>
> Attachments: HIVE-7150.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)