[ 
https://issues.apache.org/jira/browse/HIVE-25500?focusedWorklogId=648094&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-648094
 ]

ASF GitHub Bot logged work on HIVE-25500:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 08/Sep/21 17:09
            Start Date: 08/Sep/21 17:09
    Worklog Time Spent: 10m 
      Work Description: sunchao merged pull request #2618:
URL: https://github.com/apache/hive/pull/2618


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 648094)
    Time Spent: 20m  (was: 10m)

> Switch back to alter_partition(s) in HMS client for Hive 2.3.x
> --------------------------------------------------------------
>
>                 Key: HIVE-25500
>                 URL: https://issues.apache.org/jira/browse/HIVE-25500
>             Project: Hive
>          Issue Type: Improvement
>          Components: Metastore
>    Affects Versions: 2.3.9
>            Reporter: dzcxzl
>            Assignee: dzcxzl
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> HIVE-12730 uses alter_partition_with_environment_context and 
> alter_partitions_with_environment_context instead of alter_partition and 
> alter_partitions when the EnvironmentContext is null.
>  This causes the client version to be greater than 2.1 to connect to 
> server<2.1, and this error will occur.
> {code:java}
> Caused by: org.apache.thrift.TApplicationException: Invalid method name: 
> 'alter_partitions_with_environment_context'
>       at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:79)
>       at 
> org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.recv_alter_partitions_with_environment_context(ThriftHiveMetastore.java:2843)
>       at 
> org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.alter_partitions_with_environment_context(ThriftHiveMetastore.java:2827)
>       at 
> org.apache.hadoop.hive.metastore.HiveMetaStoreClient.alter_partitions(HiveMetaStoreClient.java:1524)
> {code}



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

Reply via email to