This is an automated email from the ASF dual-hosted git repository. guoyangze pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push: new bac4caa4747 [hotfix][docs] Remove the OverrideDefault annotation for option slotmanager.number-of-slots.min bac4caa4747 is described below commit bac4caa474738180c6ba23cddb500a8659d06759 Author: Xiangyu Feng <xiangyu...@gmail.com> AuthorDate: Sun Oct 15 02:13:26 2023 +0800 [hotfix][docs] Remove the OverrideDefault annotation for option slotmanager.number-of-slots.min --- docs/layouts/shortcodes/generated/expert_scheduling_section.html | 2 +- docs/layouts/shortcodes/generated/resource_manager_configuration.html | 2 +- .../java/org/apache/flink/configuration/ResourceManagerOptions.java | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/layouts/shortcodes/generated/expert_scheduling_section.html b/docs/layouts/shortcodes/generated/expert_scheduling_section.html index 576e6e7da3a..b5a3163a321 100644 --- a/docs/layouts/shortcodes/generated/expert_scheduling_section.html +++ b/docs/layouts/shortcodes/generated/expert_scheduling_section.html @@ -148,7 +148,7 @@ </tr> <tr> <td><h5>slotmanager.number-of-slots.min</h5></td> - <td style="word-wrap: break-word;">infinite</td> + <td style="word-wrap: break-word;">0</td> <td>Integer</td> <td>Defines the minimum number of slots that the Flink cluster allocates. This configuration option is meant for cluster to initialize certain workers in best efforts when starting. This can be used to speed up a job startup process. Note that this configuration option does not take effect for standalone clusters, where how many slots are allocated is not controlled by Flink.</td> </tr> diff --git a/docs/layouts/shortcodes/generated/resource_manager_configuration.html b/docs/layouts/shortcodes/generated/resource_manager_configuration.html index 24f6973c6da..bf83dc3ef04 100644 --- a/docs/layouts/shortcodes/generated/resource_manager_configuration.html +++ b/docs/layouts/shortcodes/generated/resource_manager_configuration.html @@ -88,7 +88,7 @@ </tr> <tr> <td><h5>slotmanager.number-of-slots.min</h5></td> - <td style="word-wrap: break-word;">infinite</td> + <td style="word-wrap: break-word;">0</td> <td>Integer</td> <td>Defines the minimum number of slots that the Flink cluster allocates. This configuration option is meant for cluster to initialize certain workers in best efforts when starting. This can be used to speed up a job startup process. Note that this configuration option does not take effect for standalone clusters, where how many slots are allocated is not controlled by Flink.</td> </tr> diff --git a/flink-core/src/main/java/org/apache/flink/configuration/ResourceManagerOptions.java b/flink-core/src/main/java/org/apache/flink/configuration/ResourceManagerOptions.java index b28797e468a..e846e0a114e 100644 --- a/flink-core/src/main/java/org/apache/flink/configuration/ResourceManagerOptions.java +++ b/flink-core/src/main/java/org/apache/flink/configuration/ResourceManagerOptions.java @@ -63,7 +63,6 @@ public class ResourceManagerOptions { + " Its not possible to use this configuration key to define port ranges."); @Documentation.Section(Documentation.Sections.EXPERT_SCHEDULING) - @Documentation.OverrideDefault("infinite") public static final ConfigOption<Integer> MIN_SLOT_NUM = ConfigOptions.key("slotmanager.number-of-slots.min") .intType()