>
>
> E.g. something like this may be useful in an active-active livy
> configuration because its not clear how sequential numeric id's would work
> in that context. Perhaps UUID's would also suffice for the active-active
> setup.
>
For active-active, sequential numeric IDs could be generated by
`
mment there with a grain of salt; at the time Livy
was being targeted at mostly being
From: Marcelo Vanzin
To: dev@livy.incubator.apache.org
Cc: "u...@livy.incubator.apache.org"
Date: 09/12/2017 02:40 PM
Subject: Re: user defined sessionId / URI for Livy sessions
___
there any interest in
adding this feature to Livy? I can send a PR
From: Meisam Fathi
To: "u...@livy.incubator.apache.org" , "
dev@livy.incubator.apache.org"
Date: 09/11/2017 10:23 AM
Subject: Re: user defined sessionId / URI for Livy sessions
+ dev
Is there any i
-09/11/2017 10:23:49
> AM---+ dev Is there any interest in adding this feature to Livy?]Meisam
> Fathi ---09/11/2017 10:23:49 AM---+ dev Is there any interest in adding
> this feature to Livy? I can send a PR
>
> From: Meisam Fathi
> To: "u...@livy.incubator.apache.org"
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 w
> 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
y?]Meisam
> Fathi ---09/11/2017 10:23:49 AM---+ dev Is there any interest in adding
> this feature to Livy? I can send a PR
>
> From: Meisam Fathi
> To: "u...@livy.incubator.apache.org" , "
> dev@livy.incubator.apache.org"
> Date: 09/11/2017 10:23 AM
,
"dev@livy.incubator.apache.org"
Date: 09/11/2017 10:23 AM
Subject: Re: user defined sessionId / URI for Livy sessions
+ dev
Is there any interest in adding this feature to Livy? I can send a PR
Ideally, it would be helpful if we could mint a session ID with a PUT
>
+ dev
Is there any interest in adding this feature to Livy? I can send a PR
Ideally, it would be helpful if we could mint a session ID with a PUT
> request, something like PUT /sessions/foobar, where "foobar" is the newly
> created sessionId.
>
> I suggest we make session names unique and nonnumer