livy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsch, Tim" <>
Subject Re: Query regarding livy session
Date Fri, 08 Jun 2018 23:08:57 GMT
If you can guarantee that the statements you are executing are semantically independent, you
could create a pool of sessions and execute on any idle session.   Not sure in terms of resources
how efficient that would be, depends on the cluster configuration in part.

From: Saisai Shao <>
Reply-To: "" <>
Date: Sunday, June 3, 2018 at 7:07 PM
To: "" <>
Subject: Re: Query regarding livy session

This is by design that Livy doesn't support concurrent execution of different requests. Because
Livy doesn't know if the subsequent requests are semantically dependent or not.

Rajeshkumar R <<>> 于2018年6月3日周日
I have a livy session which is linked to a spark context. This spark context is holding to
data from a table in memory. My idea is to use this data shareble across multiple users using
same livy session and context. But livy is not allowing two request at the sametime to the
same session. The second request is in queue when the first is being processed. Is this the
way livy is designed or there is some issue in our code?


View raw message