首页 > 数据库 >hive执行大SQL的时候hive.server2.thrift.max.worker.threads if applicable.

hive执行大SQL的时候hive.server2.thrift.max.worker.threads if applicable.

时间:2022-12-19 12:31:07浏览次数:43  
标签:大S 断开 max 30S hive connections session

Unexpected end of file when reading from HS2 server. The root cause might be too many concurrent connections. Please ask the administrator to check the number of active connections, and adjust hive.server2.thrift.max.worker.threads if applicable.

Error: Error while cleaning up the server resources (state=,code=0)

原因为用了nginx的代理之后,代理默认断开session的时间是30S,提交大的sql之后没有任务没有提交到yarn上之后就断开了session导致的

解决方案:

把nginx的配置断开的session连接数的时间从30S增加到2H,问题解决。

标签:大S,断开,max,30S,hive,connections,session
From: https://blog.51cto.com/wang/5951875

相关文章