Hive客户端连接服务端报错Required field 'client_protocol' is unset解决方法

Hive客户端连接服务端报错Required field 'client_protocol' is unset

Required field 'client_protocol' is unset! Struct:TOpenSessionReq(client_protocol:null, configuration:{use:database=default})

原因:JDBC驱动版本与Hive版本不一致

解决方案:下载对应Hive版本的JDBC驱动即可

Ref

解决hive客户端连接服务端报错“Required field 'client_protocol' is unset! ” 的问题

Changelog

2020-11-16 init.

posted @ 2020-11-16 10:37  俊学之道  阅读(8715)  评论(0编辑  收藏  举报