[
https://issues.apache.org/jira/browse/HIVE-9839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14345001#comment-14345001
]
Nemon Lou commented on HIVE-9839:
---------------------------------
The simple way to fix this issue is just removing line 385 and line 387.That
means ,always clean up OperationHandle when HiveSQlException occurs duing query.
> HiveServer2 leaks OperationHandle on failed async queries
> ---------------------------------------------------------
>
> Key: HIVE-9839
> URL: https://issues.apache.org/jira/browse/HIVE-9839
> Project: Hive
> Issue Type: Bug
> Components: HiveServer2
> Affects Versions: 0.14.0, 0.13.1, 1.0.0
> Reporter: Nemon Lou
>
> Using beeline to connect to HiveServer2.And type the following:
> drop table if exists table_not_exists;
> select * from table_not_exists;
> There will be an OperationHandle object staying in HiveServer2's memory for
> ever even after quit from beeline .
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)