下载并安装DBeaver,https://dbeaver.io/download/
确认metastore 服务开启,和hiveserver2服务开启
创建连接

选择apache hive


填写URL

确认默认连接信息

选择jdbc驱动

该jar包位于集群中hive目录下的jdbc目录下

然后点击确定,完成,即可连接到Hive数据库

参考链接:https://blog.csdn.net/m0_51197424/article/details/125629801