You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Chao Sun (Jira)" <ji...@apache.org> on 2021/05/14 17:05:00 UTC

[jira] [Resolved] (HIVE-24608) Switch back to get_table in HMS client for Hive 2.3.x

     [ https://issues.apache.org/jira/browse/HIVE-24608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chao Sun resolved HIVE-24608.
-----------------------------
    Fix Version/s: 2.3.9
     Hadoop Flags: Reviewed
         Assignee: Chao Sun
       Resolution: Fixed

> Switch back to get_table in HMS client for Hive 2.3.x
> -----------------------------------------------------
>
>                 Key: HIVE-24608
>                 URL: https://issues.apache.org/jira/browse/HIVE-24608
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 2.3.7
>            Reporter: Chao Sun
>            Assignee: Chao Sun
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.3.9
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> HIVE-15062 introduced a backward-incompatible change by replacing {{get_table}} with {{get_table_req}}. As consequence, when HMS client w/ version > 2.3 talks to a HMS w/ version < 2.3, it will get error similar to the following:
> {code}
> AnalysisException: org.apache.hadoop.hive.ql.metadata.HiveException: Unable to fetch table testpartitiondata. Invalid method name: 'get_table_req';
> {code}
> Looking at HIVE-15062, the {{get_table_req}} is to introduce client-side check for capabilities. However in branch-2.3 the check is a no-op since there is no capability yet (it is assigned to null). Therefore, this JIRA proposes to switch back to {{get_table}} in branch-2.3 to fix the compatibility issue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)