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

Ted Yu commented on HIVE-7150:
------------------------------

lgtm
{code}
372                    } catch (IOException ioe) {
373                      // IGNORE
{code}
You may want to log the exception.

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

Reply via email to