zeppelin icon indicating copy to clipboard operation
zeppelin copied to clipboard

[ZEPPELIN-4694]. Limit the number of running interpreter process

Open zjffdu opened this issue 5 years ago • 1 comments

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

zjffdu avatar Mar 26 '20 09:03 zjffdu

I don't think it's a critical issue but how about using AtomicInteger to count the number of processes?

jongyoul avatar Jul 15 '20 11:07 jongyoul