From 445c5417ea1d7b7f4fb055153eab8fb0f711a183 Mon Sep 17 00:00:00 2001 From: panbingkun Date: Sat, 9 Sep 2023 08:25:08 -0500 Subject: [PATCH] [SPARK-45105][DOCS] Make hyperlinks in documents clickable ### What changes were proposed in this pull request? The pr aims to make hyperlinks in documents clickable, include: running-on-mesos.html & running-on-yarn.html ### Why are the changes needed? Improve the convenience of using Spark documents. Before: image After: image ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Manually test. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #42854 from panbingkun/SPARK-45105. Authored-by: panbingkun Signed-off-by: Sean Owen --- docs/running-on-mesos.md | 4 ++-- docs/running-on-yarn.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/running-on-mesos.md b/docs/running-on-mesos.md index b1a54a089a542..fef4db77f7230 100644 --- a/docs/running-on-mesos.md +++ b/docs/running-on-mesos.md @@ -136,7 +136,7 @@ If you want to deploy a Spark Application into a Mesos cluster that is running i - `LIBPROCESS_SSL_KEY_FILE=pathToKeyFile.key` path to key - `LIBPROCESS_SSL_CERT_FILE=pathToCRTFile.crt` the certificate file to be used -All options can be found at http://mesos.apache.org/documentation/latest/ssl/ +All options can be found at [http://mesos.apache.org/documentation/latest/ssl/](http://mesos.apache.org/documentation/latest/ssl/) Then submit happens as described in Client mode or Cluster mode below @@ -579,7 +579,7 @@ See the [configuration page](configuration.html) for information on Spark config This only affects docker containers, and must be one of "docker" or "mesos". Mesos supports two types of containerizers for docker: the "docker" containerizer, and the preferred - "mesos" containerizer. Read more here: http://mesos.apache.org/documentation/latest/container-image/ + "mesos" containerizer. Read more here. 2.1.0 diff --git a/docs/running-on-yarn.md b/docs/running-on-yarn.md index 5eec6c490cb1f..709cffda9b0a7 100644 --- a/docs/running-on-yarn.md +++ b/docs/running-on-yarn.md @@ -163,7 +163,7 @@ To use a custom metrics.properties for the application master and executors, upd Amount of resource to use for the YARN Application Master in client mode. In cluster mode, use spark.yarn.driver.resource.<resource-type>.amount instead. Please note that this feature can be used only with YARN 3.0+ - For reference, see YARN Resource Model documentation: https://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/ResourceModel.html + For reference, see YARN Resource Model documentation

Example: To request GPU resources from YARN, use: spark.yarn.am.resource.yarn.io/gpu.amount @@ -185,7 +185,7 @@ To use a custom metrics.properties for the application master and executors, upd Amount of resource to use for the YARN Application Master in cluster mode. Please note that this feature can be used only with YARN 3.0+ - For reference, see YARN Resource Model documentation: https://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/ResourceModel.html + For reference, see YARN Resource Model documentation

Example: To request GPU resources from YARN, use: spark.yarn.driver.resource.yarn.io/gpu.amount @@ -198,7 +198,7 @@ To use a custom metrics.properties for the application master and executors, upd Amount of resource to use per executor process. Please note that this feature can be used only with YARN 3.0+ - For reference, see YARN Resource Model documentation: https://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/ResourceModel.html + For reference, see YARN Resource Model documentation

Example: To request GPU resources from YARN, use: spark.yarn.executor.resource.yarn.io/gpu.amount