[ 
https://issues.apache.org/jira/browse/HIVE-8203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alan Gates updated HIVE-8203:
-----------------------------
    Attachment: HIVE-8203.patch

This patch moves initialization of the transaction manager from runInternal to 
compile.  This way paths that call compile first (such as HS2) will not NPE.  
Also it moves acquisition of the valid transaction list until after a 
transaction has been opened and locks are acquired.  Finally, I added logic in 
construction of the valid transaction list to remove the current user's 
transaction from the list of open transactions so that operations would see 
rows created inside their own transaction.

> ACID operations result in NPE when run through HS2
> --------------------------------------------------
>
>                 Key: HIVE-8203
>                 URL: https://issues.apache.org/jira/browse/HIVE-8203
>             Project: Hive
>          Issue Type: Bug
>          Components: Transactions
>    Affects Versions: 0.14.0
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>            Priority: Critical
>             Fix For: 0.14.0
>
>         Attachments: HIVE-8203.patch
>
>
> When accessing Hive via HS2, any operation requiring the DbTxnManager results 
> in an NPE.



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

Reply via email to