[ 
https://issues.apache.org/jira/browse/PHOENIX-3563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Purtell updated PHOENIX-3563:
------------------------------------
    Attachment: PHOENIX-3563.patch

Changes:
- Only initialize the tx service client if needed and if we succeeded in 
getting a connection to HBase
- Save a reference to the TephraZKClientService when instantiated and call 
TephraZKClientService#stopAndWait from ConnectionQueryServicesImpl.java#close

> Ensure we release ZooKeeper resources allocated by the Tephra client embedded 
> in the Phoenix connection
> -------------------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-3563
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3563
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.9.0
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>             Fix For: 4.9.1, 4.10.0, 5.0
>
>         Attachments: PHOENIX-3563.patch
>
>
> When transactions are enabled the Phoenix client will create some Tephra 
> client objects, including TephraZKClientService, which embeds a ZooKeeper 
> instance. Ensure that ZooKeeper instance is properly shut down via 
> ZooKeeper#close. 



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

Reply via email to