zeppelin/bin
Jeff Zhang 4c8f20ae33 ZEPPELIN-3051. Support Interpreter Process Recovery
### What is this PR for?
This PR is for the purpose of recover running interpreter process when zeppelin server is restarted. This would be useful when restarting zeppelin without interrupt current running interpreter processes, should be useful when admin do maintenance or upgrading.

Interface `RecoveryStorage` is used for storing the information of running interpreter process.
Currently it only has one implementation `FileSystemRecoveryStorage`, other implementation could be done later (such as zookeeper based). `InterpreterLauncher` is the component where to recover the running interpreter process.

Test:
* RecoveryTest.java
* FileSystemRecoveryStorageTest.java

Design Doc:

https://docs.google.com/document/d/1Plm3Hd40aGdNaXmjdsoY4ek3f-gTijTMGMkNjAZN39Y/edit?usp=sharing

### What type of PR is it?
[Feature]

### Todos
* [ ] - Task

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

### How should this be tested?
Unit test & Integration Test is added. Also manually verified.

### Screenshots (if appropriate)

### 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 #2668 from zjffdu/ZEPPELIN-3051 and squashes the following commits:

a4c9b9c [Jeff Zhang] address comments
575b7b9 [Jeff Zhang] fix the pid of interpreter process id
02b118f [Jeff Zhang] address comments
da7cbb9 [Jeff Zhang] ZEPPELIN-3051. Support Interpreter Process Recovery
2017-12-14 16:20:26 +08:00
..
common.cmd ZEPPELIN-1785. Remove ZEPPELIN_NOTEBOOK_DIR and ZEPPELIN_INTERPRETER_DIR from common.sh 2016-12-15 10:45:28 -08:00
common.sh ZEPPELIN-2685. Improvement on Interpreter class 2017-10-14 13:45:51 +08:00
functions.cmd [ZEPPELIN-647] - Native Windows support for startup scripts and configuration 2016-03-24 08:04:26 -07:00
functions.sh [MINOR] Remove obsolete and old copyright notices in legal header 2016-02-21 09:08:55 -08:00
install-interpreter.sh [HOTFIX][ZEPPELIN-2011] Add lib/interpreter to classpath to fix interpreter installer 2017-01-26 14:05:06 +09:00
interpreter.cmd [HOTFIX] fix interpreter.cmd script 2017-10-16 14:41:51 +08:00
interpreter.sh ZEPPELIN-3051. Support Interpreter Process Recovery 2017-12-14 16:20:26 +08:00
stop-interpreter.sh ZEPPELIN-3051. Support Interpreter Process Recovery 2017-12-14 16:20:26 +08:00
zeppelin-daemon.sh ZEPPELIN-3051. Support Interpreter Process Recovery 2017-12-14 16:20:26 +08:00
zeppelin.cmd Followup for ZEPPELIN-1785 2016-12-19 10:40:57 -08:00
zeppelin.sh ZEPPELIN-1515. Notebook: HDFS as a backend storage (Use hadoop client jar) 2017-08-24 08:29:09 +08:00