hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <>
Subject [jira] [Updated] (HIVE-12902) Refactor TxnHandler to be an interface
Date Fri, 22 Jan 2016 18:35:39 GMT


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:
>             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

View raw message