zeppelin/docs/interpreter
Jeff Zhang 5d7151097e ZEPPELIN-2898. Support Yarn-Cluster for Spark Interpreter
### What is this PR for?
This is the first version for supporting yarn-cluster of `SparkInterpreter`.   I just delegate all the function to `spark-submit` as yarn-cluster is natively supported by spark, we don't need to reinvent the wheel. But there's still improvement to be done in future, e.g. I put some spark specific logic in `InterpreterSetting` which is not a good practise.  I plan to improve it when I refactor the `Interpreter` class (ZEPPELIN-2685).

Besides that, I also add `MiniHadoopCluster` & `MiniZeppelin` which help for the integration test of yarn-client & yarn-cluster mode, otherwise I have to manually verify yarn-client & yarn-cluster mode which would easily cause regression issue in future.

To be noticed:

* SPARK_HOME must be specified for yarn-cluster mode
* HADOOP_CONF_DIR must be specified for yarn-cluster mode

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

### Todos
* [ ] - Task

### What is the Jira issue?
https://github.com/zjffdu/zeppelin/tree/ZEPPELIN-2898

### How should this be tested?
System test is added in `SparkInterpreterIT`.

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

9da7c4b [Jeff Zhang] ZEPPELIN-2898. Support Yarn-Cluster for Spark Interpreter
2017-09-19 06:40: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-2716] Change the default value of zeppelin.livy.displayAppInfo to true 2017-07-11 16:39:30 +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
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-2898. Support Yarn-Cluster for Spark Interpreter 2017-09-19 06:40:51 +08:00