[
https://issues.apache.org/jira/browse/HIVE-26484?focusedWorklogId=827221&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-827221
]
ASF GitHub Bot logged work on HIVE-26484:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 18/Nov/22 16:31
Start Date: 18/Nov/22 16:31
Worklog Time Spent: 10m
Work Description: Noremac201 opened a new pull request, #3784:
URL: https://github.com/apache/hive/pull/3784
This is a rebased version of https://github.com/apache/hive/pull/3534,
## What changes were proposed in this pull request?
* Added a proto3 syntax Hive Metastore proto file that was based off the
existing `hive_metastore.thrift` file.
* It generally tries to follow grpc best practices, so there are some
slight variations on thrift, for example enums, response types of response
specific empty protos, snake_case.
* Guava is updated to version 22, which is required for proto3/grpc for
compiling the protos.
As this is "new" API, the new grpc API doesn’t include the same method with
different signature, i.e. get_databases(string db_id) is usurped by
get_databases(GetDatabasesRequest request).
## Why are the changes needed?
The proto file is necessary because in order to have native gRPC support in
Hive Metastore, there needs to be gRPC equivalents of all the preexisting
Thrift objects as well as method header definitions in gRPC for Thrift
counterparts.
## Does this PR introduce any user-facing change?
Not yet, while this will allow developers to use this proto to generate
clients (i.e. in Impala) before full support for gRPC is added in Hive
Metastore.
## How was this patch tested?
No tests were added in this PR other than making sure that the proto file
and pom.xml files compile without issues and checking the target/ directory for
generated files.
Issue Time Tracking
-------------------
Worklog Id: (was: 827221)
Remaining Estimate: 0h
Time Spent: 10m
> Introduce gRPC Proto Definition
> -------------------------------
>
> Key: HIVE-26484
> URL: https://issues.apache.org/jira/browse/HIVE-26484
> Project: Hive
> Issue Type: New Feature
> Components: Standalone Metastore
> Reporter: Rohan Sonecha
> Assignee: Rohan Sonecha
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Native support for gRPC in Hive Metastore will give users access to many
> features including built-in streaming RPC support, default use of HTTP/2
> protocol, fine grained security, and more.
>
> This PR will introduce the complete proto file and necessary modifications to
> pom.xml files to enable gRPC support. It will be followed with PRs that will
> contain subsets of the Hive Metastore methods along with Thrift to gRPC
> mappers and unit tests.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)