You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2015/06/09 18:39:00 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 ]
Ted Yu updated HIVE-7150:
-------------------------
Description:
Here is related code:
{code}
sslTrustStore.load(new FileInputStream(sslTrustStorePath),
sslTrustStorePassword.toCharArray());
{code}
The FileInputStream is not closed upon returning from the method.
was:
Here is related code:
{code}
sslTrustStore.load(new FileInputStream(sslTrustStorePath),
sslTrustStorePassword.toCharArray());
{code}
The FileInputStream is not closed upon returning from the method.
> 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)