报错信息: Could not establish connection to jdbc:hive2://172.16.250.240:10000/test: Required field 'client_protocol' is unset! Struct:TOpenSessionReq(client_protocol:null, configuration:{use:database=test})
Required field 'client_protocol' is unset! Struct:TOpenSessionReq(client_protocol:null, configuration:{use:database=test}) Required field 'client_protocol' is unset! Struct:TOpenSessionReq(client_protocol:null, configuration:{use:database=test})
安装dbeaver
根据下载的dbeaver.dmg,双击安装
然后启动dbeaver图形化界面
新建hive连接,配置主机名、端口号、用户名等
配置修改驱动
1 2 3
下载需要的驱动 [hadoop@node03 ~]$ cd /opt/module/hive-1.1.0-cdh5.14.2/lib/ [hadoop@node03 lib]$ sz hive-jdbc-1.1.0-cdh5.14.2-standalone.jar