您现在的位置是:首页 >技术交流 >dbeaver连接高可用hive报错:Unexpected driver error occurred while connecting to the database网站首页技术交流
dbeaver连接高可用hive报错:Unexpected driver error occurred while connecting to the database
简介dbeaver连接高可用hive报错:Unexpected driver error occurred while connecting to the database
【操作描述】配置好了hive高可用,在dbeaver上以dbeaver连接高可用hive(之前已经连接过单节点hive)
【版本信息】hadoop-3.3.4,hive-3.1.3
【报错信息】
Unexpected driver error occurred while connecting to the database
'com.google.common.util.concurrent.ListeningExecutorService com.google.common.util.concurrent.MoreExecutors.sameThreadExecutor()'
'com.google.common.util.concurrent.ListeningExecutorService com.google.common.util.concurrent.MoreExecutors.sameThreadExecutor()'

【解决方案】
1.从hive安装目录的jdbc目录下获取hive-jdbc-3.1.3-standalone.jar,放在windows无空格无中文的目录下
2.编辑驱动

3.选中hive-jdbc-3.1.3-standalone.jar编辑好驱动后,点击测试连接即可

【URL示例】
jdbc:hive2://hadoop1:2181,hadoop2:2181,hadoop3:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2
提示:zooKeeperNamespace改成自己配置的namespace
风语者!平时喜欢研究各种技术,目前在从事后端开发工作,热爱生活、热爱工作。





U8W/U8W-Mini使用与常见问题解决
QT多线程的5种用法,通过使用线程解决UI主界面的耗时操作代码,防止界面卡死。...
stm32使用HAL库配置串口中断收发数据(保姆级教程)
分享几个国内免费的ChatGPT镜像网址(亲测有效)
Allegro16.6差分等长设置及走线总结