You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/interpreter/livy.md
+6-16Lines changed: 6 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,19 +103,14 @@ Example: `spark.master` to `livy.spark.master`
103
103
<td>Upper bound for the number of executors.</td>
104
104
</tr>
105
105
<tr>
106
-
<td>livy.spark.executor.extraClassPath</td>
106
+
<td>livy.spark.jars.packages</td>
107
107
<td></td>
108
-
<td>Adding extra libraries to the executors</td>
108
+
<td>Adding extra libraries to livy interpreter</td>
109
109
</tr>
110
-
<tr>
111
-
<td>livy.spark.driver.extraClassPath</td>
112
-
<td></td>
113
-
<td>Adding extra libraries to the driver</td>
114
-
</tr>
115
110
</table>
116
111
117
112
## Adding External libraries
118
-
You should put the libraries manually on the livy server and then set the paths of the libraries to those properties `livy.spark.executor.extraClassPath` and `livy.spark.driver.extraClassPath`
113
+
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.
119
114
120
115
Example
121
116
@@ -126,15 +121,10 @@ Example
126
121
<th>Description</th>
127
122
</tr>
128
123
<tr>
129
-
<td>livy.spark.executor.extraClassPath</td>
130
-
<td>path/to/jar1.jar:path/to/jar2.jar</td>
131
-
<td>Adding extra libraries to the executors</td>
124
+
<td>livy.spark.jars.packages</td>
125
+
<td>io.spray:spray-json_2.10:1.3.1</td>
126
+
<td>Adding extra libraries to livy interpreter</td>
0 commit comments