rtrivedi12 opened a new pull request, #6381:
URL: https://github.com/apache/hive/pull/6381

   ### What changes were proposed in this pull request?
   
   Set HikariCP connection timeout to an explicit default of 60 seconds (60,000 
ms) in HikariCPDataSourceProvider, making it configurable via 
`hikaricp.connectionTimeout` property. 
   
   ### Why are the changes needed?
   
   MetaStore experiences connection timeout errors when database response is 
slow or during peak load, as HikariCP's implicit 30-second default is 
insufficient. 
   
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes. Connection timeout default changes from HikariCP's implicit 30 seconds 
to Hive's explicit 60 seconds. Users can override this by setting 
`hikaricp.connectionTimeout` in `hive-site.xml`.
   
   ### How was this patch tested?
   
   Added/updated unit tests in TestDataSourceProviderFactory: 


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to