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

Rohini Palaniswamy commented on HCATALOG-363:
---------------------------------------------

As part of HCAT-36 I added HCatUtil.closeHiveClientQuietly() to cases where the 
client was created using HCatUtil as I encountered HCAT-236 with 
client.close(). Probably that should also become part of the patch for this 
jira instead of being in HCAT-36.
                
> HCat leaks metastore connection
> -------------------------------
>
>                 Key: HCATALOG-363
>                 URL: https://issues.apache.org/jira/browse/HCATALOG-363
>             Project: HCatalog
>          Issue Type: Bug
>    Affects Versions: 0.5
>            Reporter: Ashutosh Chauhan
>
> PigHCatUtil::getTable() creates a metastore client but never call close on 
> it. As a result, underlying connection will not be released. Metastore client 
> is created in multiple different files, all of those should be examined to 
> make sure, client is properly closed at the end. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to