[ https://issues.apache.org/jira/browse/HIVE-1410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Yang updated HIVE-1410: ---------------------------- Attachment: HIVE-1410.1.patch No unit test for this one, but I ran 2 metastore servers, one with and one without this patch to verify that the one with the patch did not accumulate half-open connections. > Add TCP keepalive option for the metastore server > ------------------------------------------------- > > Key: HIVE-1410 > URL: https://issues.apache.org/jira/browse/HIVE-1410 > Project: Hadoop Hive > Issue Type: New Feature > Components: Metastore > Affects Versions: 0.6.0 > Reporter: Paul Yang > Assignee: Paul Yang > Attachments: HIVE-1410.1.patch > > > In production, we have noticed that the metastore server tends to accumulate > half-open TCP connections when it has been running for a long time. By > half-open, I am referring to idle connections where there is an established > TCP connection on the metastore server machine, but no corresponding > connection on the client machine. This could be the result of network > disconnects or crashed clients. > This patch will add an option to turn on TCP keepalive so that these > half-open connections will get cleaned up. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.