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