Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-26005

Run selected qtest on different metastore backends

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Testing Infrastructure
    • None

    Description

      In various cases there are bugs which affect only certain types of metastore databases (e.g., HIVE-26000) and it would be nice to be able to specify for each test or a bunch of tests which metastore backend to use and have these tests consistently running in CI.

      After HIVE-21954, it is possible to run qtests on different metastores by setting the system property test.metastore.db or introducing new AbstractCliConfig configuration with a new driver etc.

      The naive way of implementing this task would be to copy an existing configuration, change the metastore type, select the input files, and create a new driver (probably again a copy from CoreCliDriver.

      Other ideas would be to allow a driver to run with multiple configurations, or handle the selection of the metastore type via QT options (similar to what was done in HIVE-25594).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zabetak Stamatis Zampetakis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: