diff --git a/docs/configuration.md b/docs/configuration.md index 64aa94f622afa..2c8dea869b092 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -1008,6 +1008,67 @@ Apart from these, the following properties are also available, and may be useful +#### Dynamic allocation +
Property Name | Default | Meaning |
---|---|---|
spark.dynamicAllocation.enabled |
+ false | +
+ Whether to use dynamic resource allocation, which scales the number of executors registered
+ with this application up and down based on the workload. Note that this is currently only
+ available on YARN mode. For more detail, see the description
+ here.
+ + This requires the following configurations to be set: + spark.dynamicAllocation.minExecutors ,
+ spark.dynamicAllocation.maxExecutors , and
+ spark.shuffle.service.enabled
+ |
+
spark.dynamicAllocation.minExecutors |
+ (none) | ++ Lower bound for the number of executors if dynamic allocation is enabled (required). + | +
spark.dynamicAllocation.maxExecutors |
+ (none) | ++ Upper bound for the number of executors if dynamic allocation is enabled (required). + | +
spark.dynamicAllocation.schedulerBacklogTimeout |
+ 60 | ++ If dynamic allocation is enabled and there have been pending tasks backlogged for more than + this duration (in seconds), new executors will be requested. For more detail, see this + description. + | +
spark.dynamicAllocation.sustainedSchedulerBacklogTimeout |
+ schedulerBacklogTimeout |
+
+ Same as spark.dynamicAllocation.schedulerBacklogTimeout , but used only for
+ subsequent executor requests. For more detail, see this
+ description.
+ |
+
spark.dynamicAllocation.executorIdleTimeout |
+ 600 | ++ If dynamic allocation is enabled and an executor has been idle for more than this duration + (in seconds), the executor will be removed. For more detail, see this + description. + | +
Property Name | Default | Meaning |
---|