cloudera hive配置

Last updated on September 15, 2024 pm

🧙 Questions

☄️ Ideas

hive连接数

Note:
使用jdbc连接hive时超时无法连接,hive的连接数依靠mysql的连接数

-- 进入cdh  Charts --> Chart BUilder --> 输入查询语句
-- 查询hive的连接数
SELECT hive_open_connections,hive_open_operations FROM ENTITY_DATA;
-- 尝试查看hive配置的mysql的连接池数量  hive可能受限于mysql的连接数
show variables like '%max_connections%';
# 必须使用它默认的数据源的配置
hive.server2.thrift.max.worker.threads

cloudera hive配置
https://ispong.isxcode.com/hadoop/cloudera/cloudera hive配置/
Author
ispong
Posted on
May 17, 2021
Licensed under