You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Mark Bathori (Jira)" <ji...@apache.org> on 2022/01/04 17:44:00 UTC

[jira] [Assigned] (HIVE-25667) Unify code managing JDBC databases in tests

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

Mark Bathori reassigned HIVE-25667:
-----------------------------------

    Assignee: Mark Bathori

> Unify code managing JDBC databases in tests
> -------------------------------------------
>
>                 Key: HIVE-25667
>                 URL: https://issues.apache.org/jira/browse/HIVE-25667
>             Project: Hive
>          Issue Type: Task
>          Components: Testing Infrastructure
>    Affects Versions: 4.0.0
>            Reporter: Stamatis Zampetakis
>            Assignee: Mark Bathori
>            Priority: Major
>
> Currently there are two class hierarchies managing JDBC databases in tests, [DatabaseRule|https://github.com/apache/hive/blob/d35de014dd49fdcfe0aacb68e6c587beff6d1dea/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/dbinstall/rules/DatabaseRule.java] and [AbstractExternalDB|https://github.com/apache/hive/blob/d35de014dd49fdcfe0aacb68e6c587beff6d1dea/itests/util/src/main/java/org/apache/hadoop/hive/ql/externalDB/AbstractExternalDB.java]. There are many similarities between these hierarchies and certain parts are duplicated. 
> The goal of this JIRA is to refactor the aforementioned hierarchies to reduce code duplication and improve extensibility.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)