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

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

I was wondering if we can use Mockito.mock instead of using static import. The 
same for other Mockito methods. Another thing, instead of introducing a new 
class HiveSessionImplForTest, should we use an anonymous inner class in 
creating? Thanks.

> 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, 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