hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nemon Lou (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-12371) Adding a timeout connection parameter for JDBC
Date Mon, 09 Nov 2015 13:02:11 GMT
Nemon Lou created HIVE-12371:
--------------------------------

             Summary: Adding a timeout connection parameter for JDBC
                 Key: HIVE-12371
                 URL: https://issues.apache.org/jira/browse/HIVE-12371
             Project: Hive
          Issue Type: Improvement
          Components: JDBC
            Reporter: Nemon Lou
            Assignee: Vaibhav Gumashta


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,
{noformat}
jdbc:postgresql://localhost/test?user=fred&password=secret&ssl=true&connectTimeout=0
{noformat}
or mysql
{noformat}
jdbc:mysql://xxx.xx.xxx.xxx:3306/database?connectTimeout=60000&socketTimeout=60000
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message