[
https://issues.apache.org/jira/browse/HIVE-12903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alan Gates updated HIVE-12903:
------------------------------
Attachment: HIVE-12903.patch
This patch works by implementing a new version of RawStore called DualStore.
Users can configure 4 things in DualStore
# the primary store
# the secondary store
# the read store
# the txn store
All writes are done synchronously to the primary store. Writes are done in a
background thread to the secondary store. Failures in writes to the secondary
store do not return to the user (ie they don't break the query). They just
result in a log entry so users know their secondary is out of sync.
Reads are done against the read store. Usually this will be the primary,
though for testing purposes it can be the secondary.
Transaction operations (locks and transactions) are done against the txn store.
Usually this would be the primary store.
> Add ability to run HBase metastore in test mode along with RDBMS
> ----------------------------------------------------------------
>
> Key: HIVE-12903
> URL: https://issues.apache.org/jira/browse/HIVE-12903
> Project: Hive
> Issue Type: Improvement
> Components: HBase Metastore, Metastore
> Affects Versions: 2.0.0
> Reporter: Alan Gates
> Assignee: Daniel Dai
> Attachments: HIVE-12903.patch
>
>
> It will be difficult for users to switch directly to the HBase metastore. To
> allow them to run it in the background while still using the RDBMS
> implementation we can write a new RawStore implementation that sends write
> requests to both and reads from just one.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)