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

          Carl Steinbach created issue -
          Carl Steinbach made changes -
          Field Original Value New Value
          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.
          Carl Steinbach made changes -
          Link This issue duplicates HIVE-5484 [ HIVE-5484 ]
          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 .
          Carl Steinbach made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Duplicate [ 3 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          17d 23h 32m 1 Carl Steinbach 12/May/14 23:05

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development