Skip to content

[ZEPPELIN-6691] Terminate shell terminal process on WebSocket close - #5447

Open
seung-00 wants to merge 1 commit into
apache:masterfrom
seung-00:ZEPPELIN-6691
Open

[ZEPPELIN-6691] Terminate shell terminal process on WebSocket close#5447
seung-00 wants to merge 1 commit into
apache:masterfrom
seung-00:ZEPPELIN-6691

Conversation

@seung-00

@seung-00 seung-00 commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

What is this PR for?

This PR ensures that the PtyProcess created for the interactive shell terminal in the Shell Interpreter is terminated when the terminal WebSocket is closed.
Previously, the process was not closed when the terminal was closed. This could allow shell processes to accumulate in the background.

What type of PR is it?

Bug Fix

Todos

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-6691

How should this be tested?

Run a paragraph with %sh.terminal and confirm that a shell terminal process is started.
Move away from the notebook page or close the browser tab, then confirm that the same process exits.

Screenshots (if appropriate)

Questions:

  • Does the license files need to update? N
  • Is there breaking changes for older versions? N
  • Does this needs documentation? N

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant