Python3 kernel
Python3 is the default kernel. You can prototype and transform small to medium size datasets with this kernel. Pipelines built with this kernel can be executed in Python environments.Multi-user kernels in Mage Pro
Mage Pro can run a separate Python kernel for each authenticated user in the pipeline editor. This lets multiple users run blocks at the same time without sharing one notebook kernel, execution queue, or output stream. Enable the feature by setting the following environment variable on your Mage Pro cluster:- Each authenticated user gets an isolated Python kernel for interactive block execution from the pipeline editor.
- Kernel output is routed only to websocket clients for the user that started the block run.
- Interrupt and restart actions apply to the current user’s kernel.
- Idle kernels without connected websocket clients are cleaned up automatically.
| Variable | Description | Default |
|---|---|---|
JUPYTER_KERNEL_IDLE_TIMEOUT_SECONDS | Number of seconds an inactive user kernel can stay alive after its websocket clients disconnect. | 1800 |
JUPYTER_KERNEL_MAX_PER_SERVER | Maximum number of user kernels to keep on one Mage server. When the limit is reached, Mage evicts idle kernels first. | 50 |
GET /api/kernels only returns the kernel for the current user.
Multi-user Jupyter kernels are a Mage Pro feature. Mage uses the Python3 kernel
for this mode; the legacy PySpark notebook kernel is not supported.