[
https://issues.apache.org/jira/browse/HIVE-24419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stamatis Zampetakis resolved HIVE-24419.
----------------------------------------
Fix Version/s: 4.2.0
Resolution: Fixed
Fixed in
https://github.com/apache/hive/commit/594e5701a49f308b235d4483d760089dc68d14fb
> 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
> Labels: pull-request-available
> Fix For: 4.2.0
>
>
> 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.20.10#820010)