tgravescs commented on a change in pull request #26078: [SPARK-29151][CORE] Support fractional resources for task resource scheduling URL: https://github.com/apache/spark/pull/26078#discussion_r333539938
########## File path: docs/configuration.md ########## @@ -1982,9 +1982,13 @@ Apart from these, the following properties are also available, and may be useful <td><code>spark.task.resource.{resourceName}.amount</code></td> <td>1</td> <td> - Amount of a particular resource type to allocate for each task. If this is specified - you must also provide the executor config <code>spark.executor.resource.{resourceName}.amount</code> - and any corresponding discovery configs so that your executors are created with that resource type. + Amount of a particular resource type to allocate for each task, note that this can be a double. + If this is specified you must also provide the executor config + <code>spark.executor.resource.{resourceName}.amount</code> and any corresponding discovery configs + so that your executors are created with that resource type. In addition to whole amounts, + a fractional amount (for example, 0.25, or 1/4th of a resource) may be specified. Review comment: change "or 1/4th" to something like "which means 1/4th". They way I read the or makes me question is I can pass in "1/4" to the config, just want it to be clear. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org