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/configuration.md
+12-17Lines changed: 12 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1185,40 +1185,35 @@ Apart from these, the following properties are also available, and may be useful
1185
1185
<td><code>spark.ui.reverseProxy</code></td>
1186
1186
<td>false</td>
1187
1187
<td>
1188
-
Enable running Spark Master as reverse proxy for worker and application UIs. In this mode,
1189
-
the Spark master will reverse proxy the worker and application UIs to enable access without
1190
-
requiring direct access to their hosts.
1191
-
Use it with caution, as worker and application UI will not be accessible directly, you will
1192
-
only be able to access them through the spark master/proxy public URL.
1193
-
This setting affects all the workers and application UIs running in the cluster and must be
1194
-
set on all the workers, drivers and masters. </td>
1188
+
Enable running Spark Master as reverse proxy for worker and application UIs. In this mode, Spark master will reverse proxy the worker and application UIs to enable access without requiring direct access to their hosts. Use it with caution, as worker and application UI will not be accessible directly, you will only be able to access them through spark master/proxy public URL. This setting affects all the workers and application UIs running in the cluster and must be set on all the workers, drivers and masters.
1189
+
</td>
1195
1190
<td>2.1.0</td>
1196
1191
</tr>
1197
1192
<tr>
1198
1193
<td><code>spark.ui.reverseProxyUrl</code></td>
1199
1194
<td></td>
1200
1195
<td>
1201
-
If the Spark UI should be served through another front-end reverse proxy, this is the URL
1196
+
If the Spark UI should be served through another front-end reverse proxy, this is the URL
1202
1197
for accessing the Spark master UI through that reverse proxy.
1203
1198
This is useful when running proxy for authentication e.g. an OAuth proxy. The URL may contain
1204
-
a path prefix, like <code>http://mydomain.com/path/to/spark/</code>, allowing you to serve the
1205
-
UI for multiple Spark clusters and other web applications through the same virtual host and
1199
+
a path prefix, like <code>http://mydomain.com/path/to/spark/</code>, allowing you to serve the
1200
+
UI for multiple Spark clusters and other web applications through the same virtual host and
1206
1201
port.
1207
-
Normally, this should be an absolute URL including scheme (http/https), host and port.
1208
-
It is possible to specify a relative URL starting with "/" here. In this case, all URLs
1209
-
generated by the Spark UI and Spark REST APIs will be server-relative links -- this will still
1202
+
Normally, this should be an absolute URL including scheme (http/https), host and port.
1203
+
It is possible to specify a relative URL starting with "/" here. In this case, all URLs
1204
+
generated by the Spark UI and Spark REST APIs will be server-relative links -- this will still
1210
1205
work, as the entire Spark UI is served through the same host and port.
1211
-
<br/>The setting affects link generation in the Spark UI, but the front-end reverse proxy
1206
+
<br/>The setting affects link generation in the Spark UI, but the front-end reverse proxy
1212
1207
is responsible for
1213
1208
<ul>
1214
1209
<li>stripping a path prefix before forwarding the request,</li>
1215
1210
<li>rewriting redirects which point directly to the Spark master,</li>
1216
-
<li>redirecting access from <code>http://mydomain.com/path/to/spark</code> to
1211
+
<li>redirecting access from <code>http://mydomain.com/path/to/spark</code> to
1217
1212
<code>http://mydomain.com/path/to/spark/</code> (trailing slash after path prefix); otherwise
1218
1213
relative links on the master page do not work correctly.</li>
1219
1214
</ul>
1220
-
This setting affects all the workers and application UIs running in the cluster and must be set
1221
-
identically on all the workers, drivers and masters. In is only effective when
1215
+
This setting affects all the workers and application UIs running in the cluster and must be set
1216
+
identically on all the workers, drivers and masters. In is only effective when
1222
1217
<code>spark.ui.reverseProxy</code> is turned on. This setting is not needed when the Spark
0 commit comments