You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Peter Vary (JIRA)" <ji...@apache.org> on 2018/03/20 11:30:00 UTC

[jira] [Updated] (HIVE-18745) Fix MetaStore creation in tests, so multiple MetaStores can be started on the same machine

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

Peter Vary updated HIVE-18745:
------------------------------
    Attachment: HIVE-18745.4.patch

> Fix MetaStore creation in tests, so multiple MetaStores can be started on the same machine
> ------------------------------------------------------------------------------------------
>
>                 Key: HIVE-18745
>                 URL: https://issues.apache.org/jira/browse/HIVE-18745
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Peter Vary
>            Assignee: Peter Vary
>            Priority: Major
>         Attachments: HIVE-18745.1.patch, HIVE-18745.2.patch, HIVE-18745.3.patch, HIVE-18745.4.patch
>
>
> [~janulatha] fixed the problem, when multiple MetaStore tests are started on the same machine, then they tried to reserve the same port. This caused flakiness in the MetaStore tests run with the ptest framework. See: HIVE-18147
> I reviewed the HIVE-17980, and tried to make sure, that the fix remains in every codepath. I was unsuccessful in it. :(
> This Jira aims to go through the MetaStore tests, and make sure all of them is using the  {{startMetaStoreWithRetry}} method so the different tests will not cause each other to fail. Also there were clashes not only in port numbers, but warehouse directories as well, so this Jira should fix that also.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)