hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vihang Karajgaonkar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-21484) Metastore API getVersion() should return real version
Date Wed, 27 Mar 2019 17:50:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-21484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16803135#comment-16803135
] 

Vihang Karajgaonkar commented on HIVE-21484:
--------------------------------------------

The failing tests above work for me.

{noformat}
[INFO]
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.hive.jdbc.TestActivePassiveHA
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.773 s - in org.apache.hive.jdbc.TestActivePassiveHA
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0
{noformat}

> Metastore API getVersion() should return real version
> -----------------------------------------------------
>
>                 Key: HIVE-21484
>                 URL: https://issues.apache.org/jira/browse/HIVE-21484
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Vihang Karajgaonkar
>            Assignee: Vihang Karajgaonkar
>            Priority: Minor
>         Attachments: HIVE-21484.01.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message