[ https://issues.apache.org/jira/browse/HIVE-7040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14048441#comment-14048441 ]
Lefty Leverenz commented on HIVE-7040: -------------------------------------- bq. Seemed duplicated with HIVE-6679 HIVE-6679 and HIVE-7040 both add hive.server2.tcp.keepalive to HiveConf.java, but they have different default values. > TCP KeepAlive for HiveServer2 > ----------------------------- > > Key: HIVE-7040 > URL: https://issues.apache.org/jira/browse/HIVE-7040 > Project: Hive > Issue Type: Improvement > Components: HiveServer2, Server Infrastructure > Affects Versions: 0.13.1 > Reporter: Nicolas ThiƩbaud > Attachments: HIVE-7040.3.patch, HIVE-7040.patch, HIVE-7040.patch.2 > > > Implement TCP KeepAlive for HiverServer 2 to avoid half open connections. > A setting new is added. This works for ThriftBinaryCLIService with and > without SSL. > {code} > <property> > <name>hive.server2.tcp.keepalive</name> > <value>true</value> > <description>Whether to enable TCP keepalive for Hive Server 2</description> > </property> > {code} > The default proposed value is true, in the same way this is the default for > the metastore, see HIVE-1410. -- This message was sent by Atlassian JIRA (v6.2#6252)