Skip to content
Closed
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -1973,7 +1973,7 @@ package object config {
private[spark] val MASTER_REST_SERVER_ENABLED = ConfigBuilder("spark.master.rest.enabled")
.version("1.3.0")
.booleanConf
.createWithDefault(false)
.createWithDefault(true)

private[spark] val MASTER_REST_SERVER_HOST = ConfigBuilder("spark.master.rest.host")
.doc("Specifies the host of the Master REST API endpoint")
Expand Down
4 changes: 4 additions & 0 deletions docs/core-migration-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ license: |
* Table of contents
{:toc}

## Upgrading from Core 4.0 to 4.1

- Since Spark 4.1, Spark Master deamon provides REST API by default. To restore the behavior before Spark 4.1, you can set `spark.master.rest.enabled` to `false`.

## Upgrading from Core 3.5 to 4.0

- Since Spark 4.0, Spark migrated all its internal reference of servlet API from `javax` to `jakarta`
Expand Down
2 changes: 1 addition & 1 deletion docs/spark-standalone.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ SPARK_MASTER_OPTS supports the following system properties:
</tr>
<tr>
<td><code>spark.master.rest.enabled</code></td>
<td><code>false</code></td>
<td><code>true</code></td>
<td>
Whether to use the Master REST API endpoint or not.
</td>
Expand Down