You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "luoyuxia (Jira)" <ji...@apache.org> on 2022/09/06 10:07:00 UTC

[jira] [Created] (FLINK-29209) Fail to connect HiveServer endpoint with TProtocolException

luoyuxia created FLINK-29209:
--------------------------------

             Summary: Fail to connect HiveServer endpoint with TProtocolException
                 Key: FLINK-29209
                 URL: https://issues.apache.org/jira/browse/FLINK-29209
             Project: Flink
          Issue Type: Bug
          Components: Connectors / Hive
    Affects Versions: 1.16.0
            Reporter: luoyuxia
             Fix For: 1.16.0


When I try to connect HiveServer endpoint with some BI tools like Apache SuperSet / FineBI / MetaBase, it fails to connect with the following exception:
{code:java}
2022-09-05 20:12:36,179 ERROR org.apache.thrift.server.TThreadPoolServer                   [] - Thrift error occurred during processing of message.
org.apache.thrift.protocol.TProtocolException: Missing version in readMessageBegin, old client?
    at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:228) ~[flink-sql-connector-hive-2.3.9_2.12-1.16-SNAPSHOT.jar:1.16-SNAPSHOT]
    at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:27) ~[flink-sql-connector-hive-2.3.9_2.12-1.16-SNAPSHOT.jar:1.16-SNAPSHOT]
    at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286) [flink-sql-connector-hive-2.3.9_2.12-1.16-SNAPSHOT.jar:1.16-SNAPSHOT]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_332]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_332]
    at java.lang.Thread.run(Thread.java:750) [?:1.8.0_332] {code}
But then I try to connect Hive's own HiveServer, it works well.

Seems we need extra configuration or adaption to connect to Flink's HiveServer endpoint 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)