Uploaded image for project: 'Apache Submarine'
  1. Apache Submarine
  2. SUBMARINE-230

[Umbrella] Submarine Interpreter Module

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • Workbench Interpreter
    • None

    Description

      Because the user needs to write code and execution in the workbench (such as executing Python, Spark sql), in order to avoid user resource competition and code security control when the user executes the code, Workbench will create a Docker container for each user, User can write code in own container, bind the Github account for code version management, execute python and spark programs.

      2. Interpreter
      Submarine provides multi-language execution for notebooks in workbench through interpreters in a variety of programming languages (for example, python interpreter, spark interpreter).

      2.1 Interpreter execution flow
      1. The user enters the code in the workbench notebook and clicks the execute button. First the workbench server starts the interpreter process.
      2. The workbench server sends the user's code to the interpreter process via the interface for execution, and gets the execution result, returning to the workbench notebook for display.

      Design doc: https://docs.google.com/document/d/1LJc5hRTWfIs6K5f7vMgGC_FUizeQf-qqiWICqO8SoR8/edit#

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              liuxun Liu Xun
              liuxun Liu Xun
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m