[
https://issues.apache.org/jira/browse/HIVE-17401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16155703#comment-16155703
]
Xuefu Zhang commented on HIVE-17401:
------------------------------------
Above test failures don't seem related to the patch. The patch fixes the
implementation bug that causes session and so memory leak for HS2, and corrects
a potential synchronization problem. It also refactored the code a little to
make it easier to read and understand.
Patch #2 is committed to master. Thanks to Peter for the review.
> Hive session idle timeout doesn't function properly
> ---------------------------------------------------
>
> Key: HIVE-17401
> URL: https://issues.apache.org/jira/browse/HIVE-17401
> Project: Hive
> Issue Type: Bug
> Affects Versions: 1.1.0
> Reporter: Xuefu Zhang
> Assignee: Xuefu Zhang
> Fix For: 3.0.0
>
> Attachments: HIVE-17401.1.patch, HIVE-17401.2.patch, HIVE-17401.patch
>
>
> It's apparent in our production environment that HS2 leaks sessions, which at
> least contributed to memory leaks in HS2. We further found that idle HS2
> sessions rarely get timed out and the number of live session keeps increasing
> as time goes on. Eventually, HS2 becomes irresponsive and demands a restart.
> Investigation shows that session idle timeout doesn't work appropriately.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)