You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Peter Vary (JIRA)" <ji...@apache.org> on 2018/02/19 15:43:02 UTC

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

Peter Vary created HIVE-18745:
---------------------------------

             Summary: 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


[~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)