GitHub user zjffdu opened a pull request:
https://github.com/apache/zeppelin/pull/2818
ZEPPELIN-3246. Need option for automatically restart the livy interpreter
automatically as zeppelin does not start new Livy session if yarn livy session
application is killed
### What is this PR for?
Add one new property `zeppelin.livy.restart_dead_session` to allow livy
session to be created automatically. By default it is false, because there's
many reason that session is dead, it is encouraged to ask user to check why it
is dead and restart interpreter by themselves.
### What type of PR is it?
[Feature]
### Todos
* [ ] - Task
### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-3246
### How should this be tested?
* Manually tested.
### Screenshots (if appropriate)

### 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/zjffdu/zeppelin ZPPELIN-3246
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/2818.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 #2818
----
commit 89d44f6f6beb8648d3877b5a88e6900c92bb1749
Author: Jeff Zhang <zjffdu@...>
Date: 2018-02-26T02:18:31Z
ZEPPELIN-3246. Need option for automatically restart the livy interpreter
automatically as zeppelin does not start new Livy session if yarn livy session
application is killed
----
---