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

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

Log workAgile BoardRank to TopRank to BottomVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: None
    • Labels:
      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

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              vihangk1 Vihang Karajgaonkar Assign to me
              Reporter:
              vihangk1 Vihang Karajgaonkar

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment