Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
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
- is related to
-
SUBMARINE-165 [Umbrella] Submarine Workbench
- Resolved
- relates to
-
SUBMARINE-98 [Umbrella] Submarine web page
- Resolved
-
SUBMARINE-232 [Umbrella] Custom Zeppelin Submodule
- Resolved
- links to