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

Jason Dere commented on HIVE-17645:
-----------------------------------

Adding a patch to try to replace the usage of SessionState.getTxnMgr() in the 
non-test code. There are still a couple of tests that use 
SessionState.getTxnMgr(), so I have not removed this yet.
[~ekoifman] [~sershe] does this look ok?

> MM tables patch conflicts with HIVE-17482 (Spark/Acid integration)
> ------------------------------------------------------------------
>
>                 Key: HIVE-17645
>                 URL: https://issues.apache.org/jira/browse/HIVE-17645
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Transactions
>    Affects Versions: 3.0.0
>            Reporter: Eugene Koifman
>            Assignee: Jason Dere
>            Priority: Major
>              Labels: mm-gap-2
>         Attachments: HIVE-17645.1.patch
>
>
> MM code introduces 
> {noformat}
> HiveTxnManager txnManager = SessionState.get().getTxnMgr()
> {noformat}
> in a number of places (e.g _DDLTask.generateAddMmTasks(Table tbl)_).  
> HIVE-17482 adds a mode where a TransactionManager not associated with the 
> session should be used.  This will need to be addressed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to