I see. So based on this, we should manage a data structure in Livy Server to keep all the live sessions' name. Also regarding to session recovery, we should persist this structure to the reliable storage and recover after restart.
I'm not pretty sure if it is a good feature or not. First because we usually programmatically manage the session id, so from code level to manager a session id or a session name there's no much difference; second, usually it is hard for user to pick a unique name if one Livy Server has many live sessions, by large chance the name will be conflicted, people always like short, simple name. Since I'm so familiar how people really use it, so it is just my two cents. Thanks Jerry On Tue, Sep 12, 2017 at 8:46 AM, Meisam Fathi <meisam.fa...@gmail.com> wrote: > > If we're using session name, how do we guarantee the uniqueness of this > > name? > > > > If the requested session name already exist, Livy returns an error and does > not create the session. > > Thanks, > Meisam >