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

Jimmy Xiang commented on HIVE-9839:
-----------------------------------

The patch looks good to me. However, the test is confusing. Perhaps it is 
because the static importing of those Mockito functions. Could you fix that? 
The test doesn't need to extend TestCase any more, right?

> HiveServer2 leaks OperationHandle on async queries which fail at compile phase
> ------------------------------------------------------------------------------
>
>                 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, 1.1.0
>            Reporter: Nemon Lou
>            Assignee: Nemon Lou
>            Priority: Critical
>         Attachments: HIVE-9839.patch, HIVE-9839.patch, 
> OperationHandleMonitor.java
>
>
> 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)

Reply via email to