Maybe you can try `hive.server2.thrift.max.worker.threads` and set a smaller value for it.
You can configure it in hive-site.xml or pass the configuration through ??hiveconf when you start the thrift-server. At last, you need to find out the root cause of the failed sqls. 60 concurrent queries is not problem in a normal cluster. It may be resource/query related. > On May 3, 2018, at 15:31, ?????? <[email protected]> wrote: > > hi dev, > I start CarbonThriftServer, then use beeline to connect it. But when I submit > 60 sqls at the same time, all task failed. > So I want to know, is there a configure to restrict the max number of running > sql in carbonthriftserver, for example, if the number of running sql is > larger than this number, you can not submit this sql through beeline?
