I don't think current Livy support such behavior, the cluster manager specified in the conf file is a global configuration which affects all the created sessions.
Thanks Saisai Ravi Shankar <r...@unifisoftware.com> 于2020年1月28日周二 上午4:02写道: > Hey guys, > Is there a way to start different kind of spark sessions using the same > livy server ? For instance, i want my application to tell livy whether the > new session being requested should be started as a "local" session or a > "yarn" session on the cluster. > > Ravi >