Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.4.0
Description
In the v0.4.0-incubating's’ implementation, the number of threads used to execute the statement code is hardcoded to one. When idle resources are sufficient to execute multiple statements, a lot of resources are wasted and blocking statements run. We are considering improvements in one of two ways:
- 1. Add a configuration in livy.conf to globally control the number of threads in interpreterExecutor for all repl/sessions to execute statements
- 2 in the session to create a rest api parameter to set the maximum number of statements can be run at the same time the number of statements
hope to discuss this issue, thanks
Attachments
Issue Links
- is duplicated by
-
LIVY-428 Does livy support concurrency for centain spark session?
-
- Closed
-