-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/25343/
-----------------------------------------------------------

Review request for hive and Ashutosh Chauhan.


Bugs: HIVE-7899
    https://issues.apache.org/jira/browse/HIVE-7899


Repository: hive-git


Description
-------

This patch moves the TxnManager instance from Driver to SessionState, since 
multiple queries can share a single session, and it is convenient in other 
parts of the code to be able to get to the transaction manager.  It also stores 
the current transaction id and whether we are in autocommit in SessionState.


Diffs
-----

  ql/src/java/org/apache/hadoop/hive/ql/Driver.java 0533ae8 
  ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java df66f83 

Diff: https://reviews.apache.org/r/25343/diff/


Testing
-------

Ran existing transaction manager tests.


Thanks,

Alan Gates

Reply via email to