tgravescs commented on a change in pull request #34485:
URL: https://github.com/apache/spark/pull/34485#discussion_r743661268
##########
File path: docs/running-on-yarn.md
##########
@@ -205,6 +205,28 @@ To use a custom metrics.properties for the application
master and executors, upd
</td>
<td>3.0.0</td>
</tr>
+<tr>
+ <td><code>spark.yarn.resourceGpuDeviceName</code></td>
+ <td><code>yarn.io/gpu</code></td>
+ <td>
+ Specify the mapping of the Spark resource type of <code>gpu</code> to the
YARN resource
+ representing a GPU. By default YARN uses <code>yarn.io/gpu</code> but if
YARN has been
+ configured with a custom resource type, this allows remapping it.
+ Applies when using the <code>spark.{driver/executor}.resource.gpu.*</code>
configs.
+ </td>
+ <td>3.2.1</td>
+</tr>
+<tr>
+ <td><code>spark.yarn.resourceFpgaDeviceName</code></td>
+ <td><code>yarn.io/fpga</code></td>
+ <td>
+ Specify the mapping of the Spark resource type of <code>fpga</code> to the
YARN resource
+ representing a FPGA. By default YARN uses <code>yarn.io/fpga</code> but if
YARN has been
+ configured with a custom resource type, this allows remapping it.
+ Applies when using the
<code>spark.{driver/executor}.resource.fpga.*</code> configs.
+ </td>
+ <td>3.2.1</td>
Review comment:
It would be nice to get it in a 3.2.1 so users can get it sooner to work
with existing hadoop 3.3.1. Its a pretty small change so impact should be
small, but it is an improvement so it you (or others) think its best not to,
I'll update to just target master
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]