This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch branch-3.5
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-3.5 by this push:
new a9f95e8203b [SPARK-45934][DOCS] Fix `Spark Standalone` documentation
table layout
a9f95e8203b is described below
commit a9f95e8203bede86462e681bb7a3e6123b8c00a2
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Wed Nov 15 14:12:36 2023 -0800
[SPARK-45934][DOCS] Fix `Spark Standalone` documentation table layout
This PR fixes `Spark Standalone` documentation table layout.
**BEFORE**
- https://spark.apache.org/docs/3.5.0/spark-standalone.html
**AFTER**
- Spark Standalone
<img width="965" alt="Screenshot 2023-11-15 at 2 40 59 AM"
src="https://github.com/apache/spark/assets/9700541/281ca898-f252-47c2-8cf3-0504bcdcbfb3">
No.
Manual review.
No.
Closes #43814 from dongjoon-hyun/SPARK-45934.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit e8c2a590f99d8c87968c79960e6b69191f28b420)
Signed-off-by: Dongjoon Hyun <[email protected]>
---
docs/spark-standalone.md | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/docs/spark-standalone.md b/docs/spark-standalone.md
index 3e87edad0aa..ebda8d897ea 100644
--- a/docs/spark-standalone.md
+++ b/docs/spark-standalone.md
@@ -254,7 +254,7 @@ SPARK_MASTER_OPTS supports the following system properties:
<td>0.6.2</td>
</tr>
<tr>
- <td><code>spark.worker.resource.{resourceName}.amount</code></td>
+ <td><code>spark.worker.resource.{name}.amount</code></td>
<td>(none)</td>
<td>
Amount of a particular resource to use on the worker.
@@ -262,7 +262,7 @@ SPARK_MASTER_OPTS supports the following system properties:
<td>3.0.0</td>
</tr>
<tr>
- <td><code>spark.worker.resource.{resourceName}.discoveryScript</code></td>
+ <td><code>spark.worker.resource.{name}.discoveryScript</code></td>
<td>(none)</td>
<td>
Path to resource discovery script, which is used to find a particular
resource while worker starting up.
@@ -275,8 +275,10 @@ SPARK_MASTER_OPTS supports the following system properties:
<td>(none)</td>
<td>
Path to resources file which is used to find various resources while
worker starting up.
- The content of resources file should be formatted like <code>
- [{"id":{"componentName":
"spark.worker","resourceName":"gpu"},"addresses":["0","1","2"]}]</code>.
+ The content of resources file should be formatted like
+ <code>[{"id":{"componentName":</code>
+ <code>"spark.worker", "resourceName":"gpu"},</code>
+ <code>"addresses":["0","1","2"]}]</code>.
If a particular resource is not found in the resources file, the discovery
script would be used to
find that resource. If the discovery script also does not find the
resources, the worker will fail
to start up.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]