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

Schematool should check if upgradeFrom version is identical to current DB schema version

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.0.0
    • Component/s: Standalone Metastore
    • Labels:
      None

      Description

      Schematool should check if upgradeFrom version is identical to current DB schema version.
      https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/tools/schematool/SchemaToolTaskUpgrade.java#L41

      We should check if the user input fromVersion is identical to current DB version.

        Attachments

        1. HIVE-22739.1.patch
          3 kB
          Alice Fan

          Activity

            People

            • Assignee:
              afan Alice Fan
              Reporter:
              afan Alice Fan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: