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

Schematool should use MetastoreSchemaInfo to get the metastore schema version from database

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0
    • None
    • None

    Description

      HIVE-16723 gives the ability to have a custom MetastoreSchemaInfo implementation to manage schema upgrades and initialization if needed. In order to make HiveSchemaTool completely agnostic it should depend on IMetastoreSchemaInfo implementation which is configured to get the metastore schema version information from the database. It should also not assume the scripts directory and hardcode it itself. It would rather ask MetastoreSchemaInfo class to get the metastore scripts directory.

      Attachments

        1. HIVE-16771.01.patch
          15 kB
          Vihang Karajgaonkar
        2. HIVE-16771.02.patch
          58 kB
          Vihang Karajgaonkar
        3. HIVE-16771.03.patch
          58 kB
          Vihang Karajgaonkar
        4. HIVE-16771.04.patch
          58 kB
          Vihang Karajgaonkar

        Issue Links

          Activity

            People

              vihangk1 Vihang Karajgaonkar
              vihangk1 Vihang Karajgaonkar
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: