[
https://issues.apache.org/jira/browse/HIVE-28844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhihua Deng updated HIVE-28844:
-------------------------------
Description: 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. (was: Since thrift upgraded to 0.16, regardless of
what 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.)
> Clean up property hive.metastore.server.tcp.keepalive from Metastore
> --------------------------------------------------------------------
>
> Key: HIVE-28844
> URL: https://issues.apache.org/jira/browse/HIVE-28844
> Project: Hive
> Issue Type: Improvement
> Reporter: Zhihua Deng
> Priority: Major
>
> 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)