Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 28 additions & 1 deletion docs/spark-standalone.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,15 @@ SPARK_MASTER_OPTS supports the following system properties:
</td>
<td>1.1.0</td>
</tr>
<tr>
<td><code>spark.master.ui.title</code></td>
<td>(None)</td>
<td>
Specifies the title of the Master UI page. If unset, <code>Spark Master at 'master url'</code>
is used by default.
</td>
<td>4.0.0</td>
</tr>
<tr>
<td><code>spark.master.ui.decommission.allow.mode</code></td>
<td><code>LOCAL</code></td>
Expand Down Expand Up @@ -601,7 +610,9 @@ via <code>http://[host:port]/[version]/submissions/[action]</code> where
<thead><tr><th>Command</th><th>Description</th><th>HTTP METHOD</th><th>Since Version</th></tr></thead>
<tr>
<td><code>create</code></td>
<td>Create a Spark driver via <code>cluster</code> mode.</td>
<td>Create a Spark driver via <code>cluster</code> mode. Since 4.0.0, Spark master supports server-side
variable replacements for the values of Spark properties and environment variables.
</td>
<td>POST</td>
<td>1.3.0</td>
</tr>
Expand Down Expand Up @@ -665,6 +676,22 @@ The following is the response from the REST API for the above <code>create</code
}
```

For <code>sparkProperties</code> and <code>environmentVariables</code>, users can use place
holders for server-side environment variables like the following.

```bash
{% raw %}
...
"sparkProperties": {
"spark.hadoop.fs.s3a.endpoint": "{{AWS_ENDPOINT_URL}}",
"spark.hadoop.fs.s3a.endpoint.region": "{{AWS_REGION}}"
},
"environmentVariables": {
"AWS_CA_BUNDLE": "{{AWS_CA_BUNDLE}}"
},
...
{% endraw %}
```

# Resource Scheduling

Expand Down