Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
Description
There are some timeout settings from server side:
HIVE-4766
HIVE-6679
Adding a timeout connection parameter for JDBC is useful in some scenario:
1,beeline (which can not set timeout manually)
2,customize timeout for different connections (among hive or RDBs,which can not be done via DriverManager.setLoginTimeout())
Just like postgresql,
jdbc:postgresql://localhost/test?user=fred&password=secret&ssl=true&connectTimeout=0
or mysql
jdbc:mysql://xxx.xx.xxx.xxx:3306/database?connectTimeout=60000&socketTimeout=60000
Attachments
Issue Links
- Is contained by
-
HIVE-26751 Bug Fixes and Improvements for 3.2.0 release
- Open
- relates to
-
HIVE-14517 Hive JDBC driver login timeout used as socket timeout
- Resolved
- links to