You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/09/01 09:22:01 UTC

[jira] [Work logged] (HIVE-25482) Add option to enable connectionLeak detection for Hikari datasource

     [ https://issues.apache.org/jira/browse/HIVE-25482?focusedWorklogId=644957&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-644957 ]

ASF GitHub Bot logged work on HIVE-25482:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 01/Sep/21 09:21
            Start Date: 01/Sep/21 09:21
    Worklog Time Spent: 10m 
      Work Description: avpash43 commented on pull request #2610:
URL: https://github.com/apache/hive/pull/2610#issuecomment-909177024


   @rbalamohan , all tests has been finished successfully. Can we make merge?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 644957)
    Time Spent: 2h 40m  (was: 2.5h)

> Add option to enable connectionLeak detection for Hikari datasource
> -------------------------------------------------------------------
>
>                 Key: HIVE-25482
>                 URL: https://issues.apache.org/jira/browse/HIVE-25482
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Rajesh Balamohan
>            Assignee: Aleksandr Pashkovskii
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>          Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> There are corner cases where we observed connection leaks to DB.
>  
> It will be good to add an option to provide connection leak timeout parameter in HikariCPDataSourceProvider.
> [https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/datasource/HikariCPDataSourceProvider.java#L69]
> e.g following should help Hikari to warn about connection leak, when a connection is not returned to the pool for 1 hour.
> {noformat}
> config.setLeakDetectionThreshold(3600*1000); {noformat}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)