GitHub user ruseel opened a pull request:
https://github.com/apache/zeppelin/pull/2565
add zeppelin.livy.share_existing_session option
If you want to share livy session, There is no option now.
After this commit, setting zeppelin.livy.share_existing_session to true
make LivyInterpreter use an existing livy session
(first session returned by /sessions)
### What is this PR for?
add zeppelin.livy.share_existing_session option.
zeppelin.livy.share_existing_session is true, list exsiting livy session
and select first session.
by doing so, we can share livy session between zeppelin livy interpreters.
### What type of PR is it?
Feature
### Todos
### What is the Jira issue?
### How should this be tested?
* setup livy server
* run zeppelin server
* setup zeppelin livy interpreter(change
zeppelin.livy.share_existing_session to true)
* make new note
* make another note
* audit logs/zeppelin-interpreter-*.log
### Screenshots (if appropriate)
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? Yes
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ruseel/zeppelin livy-share-existing-session
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/2565.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 #2565
----
commit 366fff1b6f7154a10467fdac22af3512e45a490e
Author: stephen <[email protected]>
Date: 2017-09-04T10:16:28Z
zeppelin.livy.share_existing_session
If you want to share livy session, There is no option now.
After this commit, setting zeppelin.livy.share_existing_session to true
make LivyInterpreter use an existing livy session
(first session returned by /sessions)
----
---