You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2014/11/04 05:20:33 UTC

[jira] [Updated] (HIVE-8721) Enable transactional unit against other databases

     [ https://issues.apache.org/jira/browse/HIVE-8721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Gates updated HIVE-8721:
-----------------------------
    Attachment: HIVE-8721.patch

This patch changes DbTxnUtil to look at the environment variables:
METASTORE_CONNECTION_DRIVER, METASTORECONNECTURLKEY, METASTORE_CONNECTION_USER_NAME, METASTOREPWD

If these are set, they will be used to determine how to connect the database.  If these are not set, it uses the embedded Derby, as before.

> Enable transactional unit against other databases
> -------------------------------------------------
>
>                 Key: HIVE-8721
>                 URL: https://issues.apache.org/jira/browse/HIVE-8721
>             Project: Hive
>          Issue Type: Test
>          Components: Testing Infrastructure, Transactions
>    Affects Versions: 0.14.0
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>         Attachments: HIVE-8721.patch
>
>
> Since TxnHandler and subclasses use JDBC to directly connect to the underlying database (rather than relying on DataNucleus) it is important to test that all of the operations work against different database flavors.  An easy way to do this is to enable the unit tests to run against an external database.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)