Github user egorklimov commented on the issue:

    https://github.com/apache/zeppelin/pull/3066
  
    @felixcheung I added `TException` and now it seems to be ok, thank you.
    
    * Zeppelin log for z.run("WrongParagraphId") and z.runNote("WrongNoteId"):
    ```
    ERROR [2018-07-23 13:24:18,768] ({pool-5-thread-1} 
ProcessFunction.java[process]:41) - Internal error processing runParagraphs
    org.apache.thrift.TException: java.io.IOException: Not existed paragraphId: 
WrongParagraphId
    ERROR [2018-07-23 12:48:04,178] ({pool-5-thread-1} 
ProcessFunction.java[process]:41) - Internal error processing runParagraphs
    org.apache.thrift.TException: java.io.IOException: Not existed noteId: 
WrongNoteId
    ```
    * Interpreter log:
    ```
     WARN [2018-07-23 12:45:48,940] ({pool-2-thread-2} 
RemoteInterpreterEventClient.java[runParagraphs]:259) - Fail to runParagraphs: 
RunParagraphsEvent(noteId:2DK772RCQ, paragraphIds:[WrongParagraphId], 
paragraphIndices:[], curParagraphId:20180713-113847_1219368691)
    org.apache.thrift.TApplicationException: Internal error processing 
runParagraphs
     WARN [2018-07-23 12:48:04,179] ({pool-2-thread-4} 
RemoteInterpreterEventClient.java[runParagraphs]:259) - Fail to runParagraphs: 
RunParagraphsEvent(noteId:WrongNoteId, paragraphIds:[], paragraphIndices:[], 
curParagraphId:20180713-113959_745574920)
    org.apache.thrift.TApplicationException: Internal error processing 
runParagraphs
    ```
    Also it would be nice if we add error message in paragraph output, but I 
didn't find out how to do it.


---

Reply via email to