Skip to content

Commit 72474b9

Browse files
committed
Adding more configurations to livy interpreter
1 parent 4c0d5f0 commit 72474b9

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

docs/interpreter/livy.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,26 @@ Additional requirements for the Livy interpreter are:
4444
<td>1000</td>
4545
<td>Max number of SparkSQL result to display.</td>
4646
</tr>
47+
<tr>
48+
<td>spark.driver.cores</td>
49+
<td>1</td>
50+
<td>Driver cores. ex) 1, 2.</td>
51+
</tr>
52+
<tr>
53+
<td>spark.driver.memory</td>
54+
<td>512m</td>
55+
<td>Driver memory. ex) 512m, 32g.</td>
56+
</tr>
57+
<tr>
58+
<td>spark.executor.instances</td>
59+
<td>3</td>
60+
<td>Executor instances. ex) 1, 4.</td>
61+
</tr>
62+
<tr>
63+
<td>spark.executor.cores</td>
64+
<td>1</td>
65+
<td>Max number of SparkSQL result to display.</td>
66+
</tr>
4767
</table>
4868

4969

@@ -105,3 +125,6 @@ The session would have timed out, you may need to restart the interpreter.
105125
> Blacklisted configuration values in session config: spark.master
106126
107127
edit `conf/spark-blacklist.conf` file in livy server and comment out `#spark.master` line.
128+
129+
if you choose to work on livy https://github.com/cloudera/hue/tree/master/apps/spark/java,
130+
copy `spark-user-configurable-options.template` to `spark-user-configurable-options.conf` file in livy server and comment out `#spark.master`

0 commit comments

Comments
 (0)