You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Zhihua Deng (Jira)" <ji...@apache.org> on 2025/07/24 23:44:00 UTC

[jira] [Resolved] (HIVE-28844) Drop the property hive.metastore.server.tcp.keepalive and hive.server.tcp.keepalive

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

Zhihua Deng resolved HIVE-28844.
--------------------------------
    Fix Version/s: 4.2.0
       Resolution: Fixed

PR has been pushed. Thank you for the PR [~ramitg254]!

> Drop the property hive.metastore.server.tcp.keepalive and hive.server.tcp.keepalive
> -----------------------------------------------------------------------------------
>
>                 Key: HIVE-28844
>                 URL: https://issues.apache.org/jira/browse/HIVE-28844
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Zhihua Deng
>            Assignee: Ramit Gupta
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.2.0
>
>
> Since thrift upgraded to 0.16, whatever the property {{hive.metastore.server.tcp.keepalive}} is, the {{keepAlive}} in the accepted socket is always being true: [https://github.com/apache/thrift/blob/0.16.0/lib/java/src/org/apache/thrift/transport/TSocket.java#L78], and since the {{KeepAlive}} helps HMS prevent the half-open connections, it would be good to enable it.



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