Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for HTTP transport to the thrift hive metastore client #17865

Closed
vihangk1 opened this issue Jun 12, 2023 · 1 comment
Closed

Add support for HTTP transport to the thrift hive metastore client #17865

vihangk1 opened this issue Jun 12, 2023 · 1 comment
Assignees

Comments

@vihangk1
Copy link
Member

Apache Thrift supports clients to use http transport mode to connect to the thrift server [1]. Currently the hive metastore client in Trino only supports connecting using the binary transport [2]. The latest releases of Apache Hive support http transport for Hive Metastore clients as well [3]. It uses a token based authentication for authenticating the hive metastore clients to the hive metastore server [2].

This issue is created to enhance the default thrift hive metastore client in Trino to also support thrift over HTTP mode.

[1] https://github.com/apache/thrift/blob/master/lib/java/src/main/java/org/apache/thrift/transport/THttpClient.java
[2]

TTransport rawTransport = createRaw(address, sslContext, socksProxy, timeoutMillis);

[3] https://issues.apache.org/jira/browse/HIVE-21456
[4] https://issues.apache.org/jira/browse/HIVE-26071

@ebyhr
Copy link
Member

ebyhr commented Apr 12, 2024

Closing as #20371

@ebyhr ebyhr closed this as completed Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants