GitHub user egorklimov opened a pull request:
https://github.com/apache/zeppelin/pull/3167
[ZEPPELIN-3698] Zeppelin stops working after a few days of uptime with
RemoteEndpoint unavailable, outgoing connection not open
### What is this PR for?
Notebooks suddenly show up empty (are not loading) and the logfile
(apache-zeppelin-dev.log) shows the following error:
```
org.eclipse.jetty.websocket.api.WebSocketException: RemoteEndpoint
unavailable, outgoing connection not open
at
org.eclipse.jetty.websocket.common.WebSocketSession.getRemote(WebSocketSession.java:252)
at org.apache.zeppelin.socket.NotebookSocket.send(NotebookSocket.java:70)
...
```
It seems that checking the `WebSocketException` after `NotebookSocket.send`
will solve this problem .
### What type of PR is it?
Bug Fix
### What is the Jira issue?
* issue: https://issues.apache.org/jira/browse/ZEPPELIN-3698
### How should this be tested?
* CI pass
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/TinkoffCreditSystems/zeppelin ZEPPELIN-3698
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/3167.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3167
commit 29c2ae91ed28f2b1ac7e601669aac1214ca58cee
Author: egorklimov
Date: 2018-08-29T08:54:03Z
Exceptions added
---