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

Chaoyu Tang edited comment on HIVE-14799 at 10/13/16 5:12 PM:
--------------------------------------------------------------

The failed tests should not be related to this patch and I am not able to 
reproduce it in my local env. [~sershe] Could you review the revised patch 
based on your last review comments? Thanks


was (Author: ctang.ma):
The failed tests should not be related to this patch and I am not able to 
reproduce it in my local env.

> Query operation are not thread safe during its cancellation
> -----------------------------------------------------------
>
>                 Key: HIVE-14799
>                 URL: https://issues.apache.org/jira/browse/HIVE-14799
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>            Reporter: Chaoyu Tang
>            Assignee: Chaoyu Tang
>         Attachments: HIVE-14799.1.patch, HIVE-14799.2.patch, 
> HIVE-14799.3.patch, HIVE-14799.4.patch, HIVE-14799.5.patch, 
> HIVE-14799.5.patch, HIVE-14799.6.patch, HIVE-14799.6.patch, HIVE-14799.patch
>
>
> When a query is cancelled either via Beeline (Ctrl-C) or API call 
> TCLIService.Client.CancelOperation, SQLOperation.cancel is invoked in a 
> different thread from that running the query to close/destroy its 
> encapsulated Driver object. Both SQLOperation and Driver are not thread-safe 
> which could sometimes result in Runtime exceptions like NPE. The errors from 
> the running query are not handled properly therefore probably causing some 
> stuffs (files, locks etc) not being cleaned after the query termination.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to