项目场景:
DBeaver连接报错
问题描述
Could not open client transport with JDBC Uri: jdbc:hive2://192.168.29.137:10000: java.net.ConnectException: Connection timed out: connect
java.net.ConnectException: Connection timed out: connect
java.net.ConnectException: Connection timed out: connect
Connection timed out: connect
Connection timed out: connect
原因分析:
错误报的是连接超时
查看防火墙状态:systemctl status firewalld.service(如果没关在active中会显示running,我的就是)
解决方案:
关闭防火墙:systemctl stop firewalld.service(关闭后再查看防火墙状态,active会显示dead)