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

Miklos Gergely commented on HIVE-23110:
---------------------------------------

I've discussed the issue with [~kgyrtkirk] and in fact it would be difficult to 
ensure that no exception is thrown in case of an abort. By applying the fix 
that I've attached things will be fine if ReExecDriver is used, but if not then 
we should handle a lot of exceptions. Probably it would be easier just to 
assume that there may be exceptions if we abort. [~prasanth_j] what do you 
think?

> Prevent NPE in ReExecDriver if the processing is aborted
> --------------------------------------------------------
>
>                 Key: HIVE-23110
>                 URL: https://issues.apache.org/jira/browse/HIVE-23110
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>            Reporter: Miklos Gergely
>            Assignee: Zoltan Haindrich
>            Priority: Major
>         Attachments: HIVE-23110.01.patch
>
>
> In case of abort the context would be null, and thus the planMapper can not 
> be obtained from it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to