mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Change the default value of zeppelin.livy.displayAppInfo to true
This commit is contained in:
parent
155a55b560
commit
32d3f72e4f
3 changed files with 12 additions and 12 deletions
|
|
@ -43,7 +43,7 @@ We added some common configurations for spark, and you can set any configuration
|
|||
You can find all Spark configurations in [here](http://spark.apache.org/docs/latest/configuration.html#available-properties).
|
||||
And instead of starting property with `spark.` it should be replaced with `livy.spark.`.
|
||||
Example: `spark.driver.memory` to `livy.spark.driver.memory`
|
||||
|
||||
|
||||
<table class="table-configuration">
|
||||
<tr>
|
||||
<th>Property</th>
|
||||
|
|
@ -72,7 +72,7 @@ Example: `spark.driver.memory` to `livy.spark.driver.memory`
|
|||
</tr>
|
||||
<tr>
|
||||
<td>zeppelin.livy.displayAppInfo</td>
|
||||
<td>false</td>
|
||||
<td>true</td>
|
||||
<td>Whether to display app info</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
@ -150,7 +150,7 @@ Example: `spark.driver.memory` to `livy.spark.driver.memory`
|
|||
**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.**
|
||||
|
||||
## Adding External libraries
|
||||
You can load dynamic library to livy interpreter by set `livy.spark.jars.packages` property to comma-separated list of maven coordinates of jars to include on the driver and executor classpaths. The format for the coordinates should be groupId:artifactId:version.
|
||||
You can load dynamic library to livy interpreter by set `livy.spark.jars.packages` property to comma-separated list of maven coordinates of jars to include on the driver and executor classpaths. The format for the coordinates should be groupId:artifactId:version.
|
||||
|
||||
Example
|
||||
|
||||
|
|
@ -166,7 +166,7 @@ Example
|
|||
<td>Adding extra libraries to livy interpreter</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
## How to use
|
||||
Basically, you can use
|
||||
|
||||
|
|
@ -197,9 +197,9 @@ hello("livy")
|
|||
```
|
||||
|
||||
## Impersonation
|
||||
When Zeppelin server is running with authentication enabled,
|
||||
then this interpreter utilizes Livy’s user impersonation feature
|
||||
i.e. sends extra parameter for creating and running a session ("proxyUser": "${loggedInUser}").
|
||||
When Zeppelin server is running with authentication enabled,
|
||||
then this interpreter utilizes Livy’s user impersonation feature
|
||||
i.e. sends extra parameter for creating and running a session ("proxyUser": "${loggedInUser}").
|
||||
This is particularly useful when multi users are sharing a Notebook server.
|
||||
|
||||
## Apply Zeppelin Dynamic Forms
|
||||
|
|
@ -228,4 +228,4 @@ The session would have timed out, you may need to restart the interpreter.
|
|||
Edit `conf/spark-blacklist.conf` file in livy server and comment out `#spark.master` line.
|
||||
|
||||
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`.
|
||||
copy `spark-user-configurable-options.template` to `spark-user-configurable-options.conf` file in livy server and comment out `#spark.master`.
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ public abstract class BaseLivyInterpreter extends Interpreter {
|
|||
super(property);
|
||||
this.livyURL = property.getProperty("zeppelin.livy.url");
|
||||
this.displayAppInfo = Boolean.parseBoolean(
|
||||
property.getProperty("zeppelin.livy.displayAppInfo", "false"));
|
||||
property.getProperty("zeppelin.livy.displayAppInfo", "true"));
|
||||
this.sessionCreationTimeout = Integer.parseInt(
|
||||
property.getProperty("zeppelin.livy.session.create_timeout", 120 + ""));
|
||||
this.pullStatusInterval = Integer.parseInt(
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@
|
|||
},
|
||||
"zeppelin.livy.displayAppInfo": {
|
||||
"propertyName": "zeppelin.livy.displayAppInfo",
|
||||
"defaultValue": false,
|
||||
"defaultValue": "true",
|
||||
"description": "Whether display app info",
|
||||
"type": "checkbox"
|
||||
}
|
||||
|
|
@ -188,7 +188,7 @@
|
|||
"name": "pyspark3",
|
||||
"className": "org.apache.zeppelin.livy.LivyPySpark3Interpreter",
|
||||
"properties": {
|
||||
},
|
||||
},
|
||||
"option": {
|
||||
"remote": true,
|
||||
"port": -1,
|
||||
|
|
@ -202,7 +202,7 @@
|
|||
"language": "python",
|
||||
"editOnDblClick": false
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"group": "livy",
|
||||
"name": "sparkr",
|
||||
|
|
|
|||
Loading…
Reference in a new issue