This is an automated email from the ASF dual-hosted git repository. dongjoon pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push: new e8c2a590f99 [SPARK-45934][DOCS] Fix `Spark Standalone` documentation table layout e8c2a590f99 is described below commit e8c2a590f99d8c87968c79960e6b69191f28b420 Author: Dongjoon Hyun <dh...@apple.com> AuthorDate: Wed Nov 15 14:12:36 2023 -0800 [SPARK-45934][DOCS] Fix `Spark Standalone` documentation table layout ### What changes were proposed in this pull request? This PR fixes `Spark Standalone` documentation table layout. ### Why are the changes needed? **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"> ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Manual review. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #43814 from dongjoon-hyun/SPARK-45934. Authored-by: Dongjoon Hyun <dh...@apple.com> Signed-off-by: Dongjoon Hyun <dh...@apple.com> --- 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 bc13693e280..c96839c6e95 100644 --- a/docs/spark-standalone.md +++ b/docs/spark-standalone.md @@ -299,7 +299,7 @@ SPARK_MASTER_OPTS supports the following system properties: <td>0.8.0</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. @@ -307,7 +307,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. @@ -320,8 +320,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: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org