hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoltan Haindrich (Jira)" <>
Subject [jira] [Commented] (HIVE-23110) Prevent NPE in ReExecDriver if the processing is aborted
Date Wed, 01 Apr 2020 09:00:00 GMT


Zoltan Haindrich commented on HIVE-23110:

I think this issue is not connect to the NPE from ReExecDriver; because if that would be there
the catch would have done a [return here|]

I don't think we have guarantees that after cancel an exception like that may not happen:
* cleanup is synch method (not that it matters)
* it sets state as first step
* and then it start calling driver with .close and .destroy
* as a result of that internally the driver changes to some aborted state
* however..if the job is already near completion it an exception may not happen; and when
the actual thread (Thread-74 in the logs) starts getting out - it doesn't throw an exception;
and that is not in line with the SQLOperation's expectations; which causes the illegal transition



> Prevent NPE in ReExecDriver if the processing is aborted
> --------------------------------------------------------
>                 Key: HIVE-23110
>                 URL:
>             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

View raw message