Stamatis Zampetakis created HIVE-24419:
------------------------------------------
Summary: 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
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)