[ 
https://issues.apache.org/jira/browse/HIVE-25667?focusedWorklogId=706458&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-706458
 ]

ASF GitHub Bot logged work on HIVE-25667:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 10/Jan/22 20:50
            Start Date: 10/Jan/22 20:50
    Worklog Time Spent: 10m 
      Work Description: mbathori-cloudera commented on a change in pull request 
#2919:
URL: https://github.com/apache/hive/pull/2919#discussion_r781537846



##########
File path: 
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/dbinstall/AbstractDatabase.java
##########
@@ -0,0 +1,302 @@
+package org.apache.hadoop.hive.metastore.dbinstall;

Review comment:
       Yes I felt that the metastore isn’t the right place for this class but 
didn't know where should it be, I’ll move it into the hive-testutils module.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 706458)
    Time Spent: 0.5h  (was: 20m)

> 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
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)

Reply via email to