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

Eugene Koifman commented on HIVE-17645:
---------------------------------------

I think SessionState.getTxnMgr() needs a detailed comment explaining that it 
should not generally be used and what should be used instead.  
I don't see TestAcidOnTez in the patch.  Should it be?

CC [~sankarh], [~anishek] - there are some minor Replication changes



> 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, HIVE-17645.2.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