mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
ZEPPELIN-1853. Add README for livy interpreter
This commit is contained in:
parent
125a42ca1f
commit
72f40c73f4
2 changed files with 21 additions and 5 deletions
|
|
@ -50,11 +50,6 @@ Example: `spark.master` to `livy.spark.master`
|
|||
<th>Default</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>livy.spark.master</td>
|
||||
<td>local[*]</td>
|
||||
<td>Spark master uri. ex) spark://masterhost:7077</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>zeppelin.livy.url</td>
|
||||
<td>http://localhost:8998</td>
|
||||
|
|
@ -205,3 +200,7 @@ Edit `conf/spark-blacklist.conf` file in livy server and comment out `#spark.mas
|
|||
|
||||
If you choose to work on livy in `apps/spark/java` directory in [https://github.com/cloudera/hue](https://github.com/cloudera/hue),
|
||||
copy `spark-user-configurable-options.template` to `spark-user-configurable-options.conf` file in livy server and comment out `#spark.master`.
|
||||
|
||||
## Upgrade
|
||||
|
||||
* We remove livy.spark.master in zeppelin-0.7. Because we sugguest user to use livy 0.3 in zeppelin-0.7. And livy 0.3 don't allow to specify livy.spark.master, it enfornce yarn-cluster mode.
|
||||
17
livy/README.md
Normal file
17
livy/README.md
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# Overview
|
||||
Livy interpreter for Apache Zeppelin
|
||||
|
||||
# Pre requisities
|
||||
You can follow the instructions at [Livy Quick Start](http://livy.io/quickstart.html) to set up livy.
|
||||
|
||||
# Run Integration Tests
|
||||
You can add integration test to [LivyInterpreter.java](https://github.com/apache/zeppelin/blob/master/livy/src/test/java/org/apache/zeppelin/livy/LivyInterpreterIT.java)
|
||||
Either you can run the integration test on travis where enviroment will be setup or you can run it in local. You need to download livy-0.2 and spark-1.5.2 to local, then use the following
|
||||
script to run the integration test.
|
||||
|
||||
```bash
|
||||
#!/usr/bin/env bash
|
||||
export LIVY_HOME=<path_of_livy_0.2.0>
|
||||
export SPARK_HOME=<path_of_spark-1.5.2>
|
||||
mvn clean verify -pl livy -DfailIfNoTests=false -DskipRat
|
||||
```
|
||||
Loading…
Reference in a new issue