You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Komal Bansal (JIRA)" <ji...@apache.org> on 2017/03/10 11:10:04 UTC

[jira] [Updated] (PHOENIX-3728) renewLeaseExecutor.shutdown() not getting called on PhoenixDriver close() method invocation.

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

Komal Bansal updated PHOENIX-3728:
----------------------------------
    Attachment: patch

I have tried a patch on branch 4.9-HBase-1.2 of https://github.com/apache/phoenix.git. It works for me. Attaching the patch here. Can somebody please suggest if this patch will do fine or will it create any problem?

> renewLeaseExecutor.shutdown() not getting called on PhoenixDriver close() method invocation.
> --------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-3728
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3728
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Komal Bansal
>            Priority: Blocker
>         Attachments: patch
>
>
> We are using PhoenixDriver for a java service deployed in tomcat. This driver creates pool of pre-specified number of  threads for lease renewal on first connection creation. When the service is redeployed, this thread pool is not getting cleared, hence causing memory leaks.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)