liuxunorg commented on a change in pull request #3372: [ZEPPELIN-3623] Create interpreter process in the cluster mode URL: https://github.com/apache/zeppelin/pull/3372#discussion_r289298085
########## File path: zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/Interpreter.java ########## @@ -53,6 +54,24 @@ */ public abstract class Interpreter { + // Flag for creating intp-process in a cluster + // 1. This flag is true in cluster mode, otherwise false + // 2. If this flag is false, then the intp-process will be created locally. + // 3. If this flag is true then the intp-process will be created in the cluster + // 4. When zepplin-server A notifies zepplin-server B to create intp process, + // this flag in zepplin-server B is false, and zepplin-server B creates intp process locally. + protected boolean createInptProcessInCluster = false; + + public void setCreateInptProcessInCluster(boolean createInptProcessInCluster) { Review comment: Ok, accept your opinion, Let me solve this problem again. ---------------------------------------------------------------- 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