Skip to content

Commit

Permalink
[hotfix][docs] Remove the OverrideDefault annotation for option slotm…
Browse files Browse the repository at this point in the history
…anager.number-of-slots.min
  • Loading branch information
xiangyuf authored and KarmaGYZ committed Oct 16, 2023
1 parent 2da9a96 commit bac4caa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit bac4caa

Please sign in to comment.