Hive
  1. Hive
  2. HIVE-6974

Make Metastore Version Check work with Custom version suffixes

    Details

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

      Description

      HIVE-3764 added support for doing a version consistency check between the Hive JARs on the classpath and the metastore schema in the backend database. This is a nice feature, but it currently doesn't work for well for folks who appending the release version with their own suffixes, e.g. "0.12.0.li_20".

      We can fix this problem by modifying MetaStoreSchemaInfo.getHiveSchemaVersion() to match against ^\d+\.\d+\.\d+ and ignore anything that remains.

        Issue Links

          Activity

          Hide
          Carl Steinbach added a comment -

          Looks like this was already fixed in HIVE-5484.

          Show
          Carl Steinbach added a comment - Looks like this was already fixed in HIVE-5484 .

            People

            • Assignee:
              Unassigned
              Reporter:
              Carl Steinbach
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development