You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/01/05 21:44:00 UTC

[jira] [Work logged] (HIVE-26910) Backport HIVE-19104: Use independent warehouse directories in test metastores.

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

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

                Author: ASF GitHub Bot
            Created on: 05/Jan/23 21:43
            Start Date: 05/Jan/23 21:43
    Worklog Time Spent: 10m 
      Work Description: cnauroth commented on PR #3918:
URL: https://github.com/apache/hive/pull/3918#issuecomment-1372814418

   @amanraj2520 , FYI on a new branch-3 patch.




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

    Worklog Id:     (was: 837335)
    Time Spent: 20m  (was: 10m)

> Backport HIVE-19104: Use independent warehouse directories in test metastores.
> ------------------------------------------------------------------------------
>
>                 Key: HIVE-26910
>                 URL: https://issues.apache.org/jira/browse/HIVE-26910
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Test
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>            Priority: Major
>              Labels: hive-3.2.0-must, pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {{TestHS2ImpersonationWithRemoteMS}} fails on branch-3. It makes assertions about the state of the warehouse directory, but it doesn't account for a part of metastore initialization that updates the warehouse directory to parameterize it by port number for test isolation.
> {{MetaStoreTestUtils#startMetaStoreWithRetry}} sets the warehouse directory as the new {{metastore.warehouse.dir}} property. {{AbstractHiveService#get/setWareHouseDir}} later works with the deprecated {{hive.metastore.warehouse.dir}} property. {{MetastoreConf}} will take care of resolving requests for the new property to values under the old property, but not vice versa.
> On master, HIVE-19104 included an additional line in {{MiniHs2}} to make sure these 2 properties would stay in sync for test runs. This issue tracks a slightly modified backport of that patch to branch-3.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)