zeppelin
zeppelin copied to clipboard
[ZEPPELIN-4694]. Limit the number of running interpreter process
What is this PR for?
This is to limit the number of running interpreter process to protect zeppelin machine ran out of memory. By default, you can run at most 10 interpreter processes. To be noticed, this won't impact k8s mode.
What type of PR is it?
[Feature]
Todos
- [ ] - Task
What is the Jira issue?
- https://issues.apache.org/jira/browse/ZEPPELIN-4694
How should this be tested?
- CI pass and unit test is added
Screenshots (if appropriate)
Questions:
- Does the licenses files need update? No
- Is there breaking changes for older versions? No
- Does this needs documentation? No
I don't think it's a critical issue but how about using AtomicInteger to count the number of processes?