[ 
https://issues.apache.org/jira/browse/HIVE-28791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

YuXiang Zhuang updated HIVE-28791:
----------------------------------
    Description: 
Currently, the Hive JDBC driver lacks a dedicated parameter to set the 
{{loginTimeout}} for connection establishment. The driver implicitly uses the 
{{socketTimeout}} value for both the login phase and subsequent socket 
operations. This creates ambiguity and limits users' ability to handle 
connection establishment failures gracefully.

 

*Related Development:*
• *HIVE-26336* previously proposed introducing this parameter but hasn't been 
merged.
• *Kyuubi*  has successfully implemented {{loginTimeout}} in its 
[KyuubiConnection(an alternative JDBC 
implementation)|https://github.com/apache/kyuubi/blob/master/kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java],
 demonstrating practical need and implementation feasibility.

  was:
Currently, the Hive JDBC driver lacks a dedicated parameter to set the 
{{loginTimeout}} for connection establishment. The driver implicitly uses the 
{{socketTimeout}} value for both the login phase and subsequent socket 
operations. This creates ambiguity and limits users' ability to handle 
connection establishment failures gracefully.

 

*Related Development:*
• *HIVE-26336* previously proposed introducing this parameter but hasn't been 
merged.
• *Kyuubi* (an alternative JDBC implementation) has successfully implemented 
{{loginTimeout}} in its 
[KyuubiConnection|https://github.com/apache/kyuubi/blob/master/kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java],
 demonstrating practical need and implementation feasibility.


> Add JDBC parameter to configure loginTimeout separately from socketTimeout
> --------------------------------------------------------------------------
>
>                 Key: HIVE-28791
>                 URL: https://issues.apache.org/jira/browse/HIVE-28791
>             Project: Hive
>          Issue Type: Improvement
>    Affects Versions: 4.0.1
>            Reporter: YuXiang Zhuang
>            Priority: Major
>
> Currently, the Hive JDBC driver lacks a dedicated parameter to set the 
> {{loginTimeout}} for connection establishment. The driver implicitly uses the 
> {{socketTimeout}} value for both the login phase and subsequent socket 
> operations. This creates ambiguity and limits users' ability to handle 
> connection establishment failures gracefully.
>  
> *Related Development:*
> • *HIVE-26336* previously proposed introducing this parameter but hasn't been 
> merged.
> • *Kyuubi*  has successfully implemented {{loginTimeout}} in its 
> [KyuubiConnection(an alternative JDBC 
> implementation)|https://github.com/apache/kyuubi/blob/master/kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java],
>  demonstrating practical need and implementation feasibility.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to