zeppelin/zeppelin-zengine
Jeff Zhang 2cccfb9266 ZEPPELIN-1716. Error of interpreter not found is not propagated to fr…
### What is this PR for?
It is introduced in ZEPPELIN-1399, we call `InterpreterFactory.getInterpreter` before calling `Paragraph.jobRun`. This PR would ignore the `InterpreterException` in `Paragraph.isValidIntepreter`

### What type of PR is it?
[Bug Fix | Improvement | Feature | Documentation | Hot Fix | Refactoring]

### Todos
* [ ] - Task

### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-1716

### How should this be tested?
Tested manually, see the following screenshot

### Screenshots (if appropriate)

Before this PR, only see the following error in log, but not in frontend
```
ERROR [2016-11-28 15:16:47,378] ({qtp1471868639-17} NotebookServer.java[onMessage]:303) - Can't handle message
org.apache.zeppelin.interpreter.InterpreterException: spark.sparkr interpreter not found
    at org.apache.zeppelin.interpreter.InterpreterFactory.getInterpreter(InterpreterFactory.java:1302)
    at org.apache.zeppelin.notebook.Paragraph.isValidInterpreter(Paragraph.java:596)
    at org.apache.zeppelin.notebook.Paragraph.getMagic(Paragraph.java:586)
    at org.apache.zeppelin.socket.NotebookServer.runParagraph(NotebookServer.java:1337)
    at org.apache.zeppelin.socket.NotebookServer.onMessage(NotebookServer.java:226)
    at org.apache.zeppelin.socket.NotebookSocket.onWebSocketText(NotebookSocket.java:59)
```
After this PR
![2016-11-28_1514](https://cloud.githubusercontent.com/assets/164491/20659318/e8d00a58-b57d-11e6-854d-899614c4ca87.png)

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No

Author: Jeff Zhang <zjffdu@apache.org>

Closes #1691 from zjffdu/ZEPPELIN-1716 and squashes the following commits:

ad7ec63 [Jeff Zhang] ZEPPELIN-1716. Error of interpreter not found is not propagated to frontend.
2016-11-30 18:05:25 -08:00
..
src ZEPPELIN-1716. Error of interpreter not found is not propagated to fr… 2016-11-30 18:05:25 -08:00
.gitignore Refactoring packagename and version 2013-10-18 09:25:21 +09:00
pom.xml [ZEPPELIN-1695] Enforce pom.xml style while removing useless, unapplied conf 2016-11-24 18:31:41 +09:00