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

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

                Author: ASF GitHub Bot
            Created on: 08/Sep/21 06:45
            Start Date: 08/Sep/21 06:45
    Worklog Time Spent: 10m 
      Work Description: cxzl25 commented on pull request #2618:
URL: https://github.com/apache/hive/pull/2618#issuecomment-914965475


   > Thanks @cxzl25 ! this is a good catch and it LGTM. Could you open another 
one for branch-3.1 as well? Ideally we should also fix this in master but seems 
the code path has changed a lot there.
   
   Submitted a PR (https://github.com/apache/hive/pull/2623) on branch3.1 .
   master branch: HIVE-19820 uses `alter_partitions_req` instead of 
`alter_partitions` .
   


-- 
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: 647760)
    Remaining Estimate: 0h
            Time Spent: 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
>          Time Spent: 10m
>  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