Uploaded image for project: 'Livy'
  1. Livy
  2. LIVY-421

support multi statements run at the same time

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.4.0
    • 0.9.0
    • REPL

    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. 1. Add a configuration in livy.conf to globally control the number of threads in interpreterExecutor for all repl/sessions to execute statements
      2. 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

          Activity

            People

              Unassigned Unassigned
              codingforfun weibin0516
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: