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

Metastore API getVersion() should return real version

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0, 4.0.0, 3.2.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently I see the getVersion implementation in the metastore is returning a hard-coded "3.0". It would be good to return the real version of the metastore server using HiveversionInfo so that clients can take certain actions based on metastore server versions.

      Possible use-cases are:
      1. Client A can make use of new features introduced in given Metastore version else stick to the base functionality.
      2. This version number can be used to do a version handshake between client and server in the future to improve our cross-version compatibity story.

        Attachments

        1. HIVE-21484.01.patch
          5 kB
          Vihang Karajgaonkar
        2. HIVE-21484.02.patch
          5 kB
          Vihang Karajgaonkar
        3. HIVE-21484.03.patch
          5 kB
          Vihang Karajgaonkar
        4. HIVE-21484.04.branch-3.patch
          5 kB
          Vihang Karajgaonkar
        5. HIVE-21484.05.branch-2.patch
          4 kB
          Vihang Karajgaonkar

          Activity

            People

            • Assignee:
              vihangk1 Vihang Karajgaonkar
              Reporter:
              vihangk1 Vihang Karajgaonkar
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: