zeppelin/docs/interpreter
Jeff Zhang 9812e26bce ZEPPELIN-2685. Improvement on Interpreter class
### What is this PR for?
Follow up of #2577. Main changes on Interpreter
* Add throw `InterpreterException` which is checked exception for the abstract methods of `Interpreter`, this would enforce the interpreter implementation to throw `InterpreterException`.
* field name refactoring.

     * `property` -> `properties`
     * `getProperty()` --> `getProperties()`
* Introduce launcher layer for interpreter launching. Currently we only use shell script to launch interpreter, but it could be any other service or component to launch interpreter, such as livy server , other 3rd party tools or even we may create a separate module for interpreter launcher

     * abstract cass `InterpreterLauncher`
     * For now, only 2 implementation: `ShellScriptLauncher` & `SparkInterpreterLauncher`. We could add method in class `Interpreter` to allow interpreter to specify its own launcher class, but it could be future work.

### What type of PR is it?
[Improvement | Refactoring]

### Todos
* [ ] - Task

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

### How should this be tested?
Unit test is covered. `ShellScriptLauncherTest` & `SparkInterpreterLauncherTest`

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

17dc2f1 [Jeff Zhang] address comments
e545cc3 [Jeff Zhang] ZEPPELIN-2685. Improvement on Interpreter class
2017-10-14 13:45:51 +08:00
..
alluxio.md [ZEPPELIN-2707][DOCS][HOTFIX] fix: broken image URLs in 0.8.0-SNAPSHOT doc 2017-06-30 10:33:01 +09:00
beam.md [ZEPPELIN-2865] upgrade Beam interpreter to latest version 2017-08-20 20:16:32 +09:00
bigquery.md [ZEPPELIN-1219] Add searching feature to Zeppelin docs site 2016-08-10 12:39:22 +09:00
cassandra.md Zeppelin-2835 add ssl doco 2017-08-08 11:18:44 +09:00
elasticsearch.md [ZEPPELIN-2707][DOCS][HOTFIX] fix: broken image URLs in 0.8.0-SNAPSHOT doc 2017-06-30 10:33:01 +09:00
flink.md [ZEPPELIN-1787] Add an example of Flink Notebook 2017-01-12 12:06:01 +09:00
geode.md [ZEPPELIN-2596] Improving documentation page 2017-06-23 17:44:13 +09:00
groovy.md SSL Support for Groovy Interpreter HTTP requests [ZEPPELIN-2443] 2017-04-28 02:52:13 -07:00
hbase.md [ZEPPELIN-1219] Add searching feature to Zeppelin docs site 2016-08-10 12:39:22 +09:00
hdfs.md [ZEPPELIN-1219] Add searching feature to Zeppelin docs site 2016-08-10 12:39:22 +09:00
hive.md [ZEPPELIN-2596] Improving documentation page 2017-06-23 17:44:13 +09:00
ignite.md [ZEPPELIN-2707][DOCS][HOTFIX] fix: broken image URLs in 0.8.0-SNAPSHOT doc 2017-06-30 10:33:01 +09:00
jdbc.md [ZEPPELIN-2707][DOCS][HOTFIX] fix: broken image URLs in 0.8.0-SNAPSHOT doc 2017-06-30 10:33:01 +09:00
kylin.md [ZEPPELIN-1512] Support Kylin project name in interpreter runtime 2016-12-14 12:57:12 +09:00
lens.md [ZEPPELIN-2707][DOCS][HOTFIX] fix: broken image URLs in 0.8.0-SNAPSHOT doc 2017-06-30 10:33:01 +09:00
livy.md ZEPPELIN-2953 Allow custom http header for livy interpreter 2017-10-13 09:28:10 +08:00
mahout.md [ZEPPELIN-116] Add Apache Mahout Interpreter 2016-11-09 13:39:52 +09:00
markdown.md [ZEPPELIN-2707][DOCS][HOTFIX] fix: broken image URLs in 0.8.0-SNAPSHOT doc 2017-06-30 10:33:01 +09:00
neo4j.md [ZEPPELIN-2761] - Neo4j Interpreter 2017-10-10 23:44:02 -07:00
pig.md [ZEPPELIN-2707][DOCS][HOTFIX] fix: broken image URLs in 0.8.0-SNAPSHOT doc 2017-06-30 10:33:01 +09:00
postgresql.md [ZEPPELIN-2596] Improving documentation page 2017-06-23 17:44:13 +09:00
python.md [ZEPPELIN-2753] Basic Implementation of IPython Interpreter 2017-08-28 08:11:04 +08:00
r.md [ZEPPELIN-2707][DOCS][HOTFIX] fix: broken image URLs in 0.8.0-SNAPSHOT doc 2017-06-30 10:33:01 +09:00
scalding.md [ZEPPELIN-2707][DOCS][HOTFIX] fix: broken image URLs in 0.8.0-SNAPSHOT doc 2017-06-30 10:33:01 +09:00
scio.md [ZEPPELIN-1800] Update scio doc - fix type $ should be % 2016-12-14 18:50:44 -08:00
shell.md [ZEPPELIN-2903] Make setting of working directory to user-home optional for shell interpreter 2017-09-06 16:34:51 +05:30
spark.md ZEPPELIN-2685. Improvement on Interpreter class 2017-10-14 13:45:51 +08:00