[
https://issues.apache.org/jira/browse/HIVE-28749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shohei Okumiya updated HIVE-28749:
----------------------------------
Fix Version/s: 4.1.0
> The default hikaricp.leakDetectionThreshold is not valid
> --------------------------------------------------------
>
> Key: HIVE-28749
> URL: https://issues.apache.org/jira/browse/HIVE-28749
> Project: Hive
> Issue Type: Bug
> Components: Standalone Metastore
> Affects Versions: 4.0.1
> Reporter: Shohei Okumiya
> Assignee: Shohei Okumiya
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.1.0
>
>
> We see the following warning by default.
>
> {code:java}
> 2025-02-09T13:03:17,314 INFO [main] datasource.HikariCPDataSourceProvider:
> Creating Hikari connection pool for the MetaStore, maxPoolSize: 10, name:
> objectstore
> 2025-02-09T13:03:17,326 WARN [main] hikari.HikariConfig: objectstore -
> leakDetectionThreshold is less than 2000ms or more than maxLifetime,
> disabling it. {code}
>
> We configure [3,600,000 millis = 1
> hour|https://github.com/apache/hive/blob/35589d78ca428f6274e8fb0f6399d70b947581bb/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/datasource/HikariCPDataSourceProvider.java#L58]
> by default, while [the maximum lifetime is 30
> minutes|https://github.com/brettwooldridge/HikariCP/blob/HikariCP-4.0.3/src/main/java/com/zaxxer/hikari/HikariConfig.java#L58].
--
This message was sent by Atlassian Jira
(v8.20.10#820010)