Github user echarles commented on the issue:

    https://github.com/apache/zeppelin/pull/2404
  
    I have just worked on this issue and found a bug in the 
`InterpreterSetting` class. The `getInterpreterSessionId` uses 
`option.perNoteScoped` in its tests, but it should be `option.perNoteIsolated`. 
With the below change, the paragraphs are not more aborted and each users 
benefit from a separated scheduler (for now, the jobs of the different users 
have to queue as they have a single scheduler).
    
    ```
      private String getInterpreterSessionId(String user, String noteId) {
        String key;
        if (option.isExistingProcess()) {
          key = Constants.EXISTING_PROCESS;
        } else if (option.perNoteIsolated() && option.perUserIsolated()) {
          key = user + ":" + noteId;
        } else if (option.perUserIsolated()) {
          key = user;
        } else if (option.perNoteIsolated()) {
          key = noteId;
        } else {
          key = SHARED_SESSION;
        }
        return key;
      }
    ```


---

Reply via email to