[
https://issues.apache.org/jira/browse/HIVE-12902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alan Gates updated HIVE-12902:
------------------------------
Attachment: HIVE-12902.2.patch
A new version of the patch. This version doesn't rename TxnHandler and merge
CompactionTxnHandler into the new TxnHandler. I realized doing this would make
sharing patches between master and branch-1 impossible.
Instead it defines a new interface TxnStore that TxnHandler implements. I did
make TxnHandler package local so that tools were required to instantiate via
code that makes sure to pick what is configured for the TxnStore.
> Refactor TxnHandler to be an interface
> --------------------------------------
>
> Key: HIVE-12902
> URL: https://issues.apache.org/jira/browse/HIVE-12902
> Project: Hive
> Issue Type: Improvement
> Components: Metastore, Transactions
> Affects Versions: 2.0.0
> Reporter: Alan Gates
> Assignee: Alan Gates
> Attachments: HIVE-12902.2.patch, HIVE-12902.patch
>
>
> TxnHandler (and it's extender CompactionTxnHandler) implement the transaction
> functionality in the metastore. These need to be re-factored as interfaces
> so that we can have a separate implementation for the HBase metastore.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)