title: How do I determine the Apache Livy's "allowed maximum active session count"?
body: <p>Let's say, I want to keep creating a sessions for every Spark job that is submitted to the YARN. Every connection has a unique user, who keeps polling the status and post statements to a session. How do I calculate, at any given time, Livy can have, how many active sessions? Is it based on the livy.spark.driver size that I configure? what are all the other parameters involved in this calculation ?</p>