You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2020/11/24 12:52:00 UTC

[jira] [Assigned] (HIVE-24419) Refactor junit database rules to exploit testcontainers

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

Stamatis Zampetakis reassigned HIVE-24419:
------------------------------------------


> Refactor junit database rules to exploit testcontainers
> -------------------------------------------------------
>
>                 Key: HIVE-24419
>                 URL: https://issues.apache.org/jira/browse/HIVE-24419
>             Project: Hive
>          Issue Type: Task
>            Reporter: Stamatis Zampetakis
>            Assignee: Stamatis Zampetakis
>            Priority: Minor
>
> The [DatabaseRule|https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/dbinstall/rules/DatabaseRule.java] and its subclasses allow tests to run over dockerized metastores using different database backends. Essentially some part of the code manages containers by invoking explicitly docker commands.
> The [testcontainers|https://www.testcontainers.org/modules/databases/] project provides the necessary modules for managing dockerized databases in an easy and intuitive way.
> The goal of this issue is to refactor the {{DatabaseRule}} hierarchy to take advantage of testcontainers in order to delegate the burden of managing containers outside of Hive.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)