[
https://issues.apache.org/jira/browse/HIVE-23110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17072040#comment-17072040
]
Prasanth Jayachandran commented on HIVE-23110:
----------------------------------------------
I was seeing couple of issues when aborting a query
1) NPE in ReExecDriver
2) Invalid state transition (CLOSED to FINISHED)
As long as these are not causing issues for the clients (incorrect exit codes,
not running failure hooks on abort) it is ok to ignore these exceptions.
I would say handling and ignoring the exception with logging is better than not
handling at all.
I was trying to eliminate 1) in my quest to debug why certain failure hook is
not executed.
> 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)