[ 
https://issues.apache.org/jira/browse/SPARK-24629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16520219#comment-16520219
 ] 

Apache Spark commented on SPARK-24629:
--------------------------------------

User 'ChenjunZou' has created a pull request for this issue:
https://github.com/apache/spark/pull/21613

> thrift server memory leak when beeline connection quits
> -------------------------------------------------------
>
>                 Key: SPARK-24629
>                 URL: https://issues.apache.org/jira/browse/SPARK-24629
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.2.1, 2.3.1
>            Reporter: StephenZou
>            Priority: Minor
>         Attachments: 2222.png, 3333.png
>
>
> When Beeline connection closes, spark thrift server (STS) will send a session 
> close event, then the relevant listener in class HiveThriftServer2 will clean 
> its internal session states.
> But the internal statement state is not updated, (see graph attached).  So it 
> remains in state Compiled and doesn't be swept out. 
> Another graph is that after fixing it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to