0

I'm trying to read a table from the instance of Spark Thrift server 2.4.8. The connected application is based on Spark 3.3.1 with Hive support of metastore version 3.1.3. Currently I'm receiving such error:

org.apache.thrift.TApplicationException: Required field 'client_protocol' is unset! Struct:TOpenSessionReq(client_protocol:null, configuration:{set:hiveconf:hive.server2.thrift.resultset.default.fetch.size=1000, use:database=default})
    at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:79) ~[libthrift-0.12.0.jar:0.12.0]
    at org.apache.hive.service.rpc.thrift.TCLIService$Client.recv_OpenSession(TCLIService.java:176) ~[hive-service-rpc-3.1.3.jar:3.1.3]
...

which indicates that there is client-server version incompatibility issue. Have anyone tried to do so anyway? Is it possible to have workaround in connected application instead of tweaking the server?

0 Answers0