报错信息:
[ 08S01] Could not open client transport with JDBC Uri: jdbc:hive2://192.168.88.80:10000: Could not establish connection to jdbc:hive2://192.168.88.80:10000: 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}) org.apache.hive.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}).
版本问题:
10002端口查看服务端hiveserver2版本为2.1.1