alexott commented on a change in pull request #3698: [ZEPPELIN-4694]. Limit the 
number of running interpreter process
URL: https://github.com/apache/zeppelin/pull/3698#discussion_r398530129
 
 

 ##########
 File path: 
zeppelin-zengine/src/main/java/org/apache/zeppelin/interpreter/remote/RemoteInterpreterManagedProcess.java
 ##########
 @@ -96,6 +100,11 @@ public int getPort() {
 
   @Override
   public void start(String userName) throws IOException {
+
+    if (TOTAL_RUNNING_PROCESS >= MAX_RUNNING_PROCESS) {
+      throw new IOException("You have reached the max number of running 
interpreter process: "
 
 Review comment:
   it would be nice to change `interpreter process` to `interpreter processes`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to