Skip to content

Commit b2eb46e

Browse files
committed
Document SPARK_PUBLIC_DNS and SPARK_HISTORY_OPTS for the history server
1 parent e8d1fbc commit b2eb46e

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

docs/monitoring.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,22 +39,33 @@ You can start a the history server by executing:
3939

4040
The base logging directory must be supplied, and should contain sub-directories that each
4141
represents an application's event logs. This creates a web interface at
42-
`http://<server-url>:18080` by default. The history server depends on the following variables:
42+
`http://<server-url>:18080` by default. The history server can be configured as follows:
4343

4444
<table class="table">
4545
<tr><th style="width:21%">Environment Variable</th><th>Meaning</th></tr>
4646
<tr>
4747
<td><code>SPARK_DAEMON_MEMORY</code></td>
48-
<td>Memory to allocate to the history server. (default: 512m).</td>
48+
<td>Memory to allocate to the history server (default: 512m).</td>
4949
</tr>
5050
<tr>
5151
<td><code>SPARK_DAEMON_JAVA_OPTS</code></td>
5252
<td>JVM options for the history server (default: none).</td>
5353
</tr>
54+
<tr>
55+
<td><code>SPARK_PUBLIC_DNS</code></td>
56+
<td>
57+
The public address for the history server. If this is not set, links to application history
58+
may use the internal address of the server, resulting in broken links (default: none).
59+
</td>
60+
</tr>
61+
<tr>
62+
<td><code>SPARK_HISTORY_OPTS</code></td>
63+
<td>
64+
<code>spark.history.*</code> configuration options for the history server (default: none).
65+
</td>
66+
</tr>
5467
</table>
5568

56-
Further, the history server can be configured as follows:
57-
5869
<table class="table">
5970
<tr><th>Property Name</th><th>Default</th><th>Meaning</th></tr>
6071
<tr>

0 commit comments

Comments
 (0)