Description
In our cluster, livy server run with spark yarn cluster mode, when createSession request is too frequently, livyServer will start too more spark-submit child process, it will cause the machine oom. I think livy server should reject the create session request when there is too more spark-submit child process. I have fix it in our own cluster.