This is an automated email from the ASF dual-hosted git repository. xtsong pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/flink.git
commit ac6d7a30f51a58ed7224324fc08330f61bc8399c Author: sxnan <suxuanna...@gmail.com> AuthorDate: Tue May 28 09:39:36 2024 +0800 [FLINK-35461][config] Deprecate the unnecessary option fine-grained.shuffle-mode.all-blocking --- docs/layouts/shortcodes/generated/cluster_configuration.html | 6 ------ docs/layouts/shortcodes/generated/expert_scheduling_section.html | 6 ------ .../main/java/org/apache/flink/configuration/ClusterOptions.java | 5 ++++- 3 files changed, 4 insertions(+), 13 deletions(-) diff --git a/docs/layouts/shortcodes/generated/cluster_configuration.html b/docs/layouts/shortcodes/generated/cluster_configuration.html index 2e4c7ec272c..a54c597c5c9 100644 --- a/docs/layouts/shortcodes/generated/cluster_configuration.html +++ b/docs/layouts/shortcodes/generated/cluster_configuration.html @@ -68,12 +68,6 @@ <td><p>Enum</p></td> <td>Defines whether cluster will handle any uncaught exceptions by just logging them (LOG mode), or by failing job (FAIL mode)<br /><br />Possible values:<ul><li>"LOG"</li><li>"FAIL"</li></ul></td> </tr> - <tr> - <td><h5>fine-grained.shuffle-mode.all-blocking</h5></td> - <td style="word-wrap: break-word;">false</td> - <td>Boolean</td> - <td>Whether to convert all PIPELINE edges to BLOCKING when apply fine-grained resource management in batch jobs.</td> - </tr> <tr> <td><h5>process.jobmanager.working-dir</h5></td> <td style="word-wrap: break-word;">(none)</td> diff --git a/docs/layouts/shortcodes/generated/expert_scheduling_section.html b/docs/layouts/shortcodes/generated/expert_scheduling_section.html index 04c0f78cc12..86682f4fbfd 100644 --- a/docs/layouts/shortcodes/generated/expert_scheduling_section.html +++ b/docs/layouts/shortcodes/generated/expert_scheduling_section.html @@ -74,12 +74,6 @@ <td>Integer</td> <td>Controls the maximum number of execution attempts of each operator that can execute concurrently, including the original one and speculative ones.</td> </tr> - <tr> - <td><h5>fine-grained.shuffle-mode.all-blocking</h5></td> - <td style="word-wrap: break-word;">false</td> - <td>Boolean</td> - <td>Whether to convert all PIPELINE edges to BLOCKING when apply fine-grained resource management in batch jobs.</td> - </tr> <tr> <td><h5>job-event.store.write-buffer.flush-interval</h5></td> <td style="word-wrap: break-word;">1 s</td> diff --git a/flink-core/src/main/java/org/apache/flink/configuration/ClusterOptions.java b/flink-core/src/main/java/org/apache/flink/configuration/ClusterOptions.java index eb2834516e2..1d26f53f5d3 100644 --- a/flink-core/src/main/java/org/apache/flink/configuration/ClusterOptions.java +++ b/flink-core/src/main/java/org/apache/flink/configuration/ClusterOptions.java @@ -141,7 +141,10 @@ public class ClusterOptions { .withDescription( "The maximum stacktrace depth of TaskManager and JobManager's thread dump web-frontend displayed."); - @Documentation.Section(Documentation.Sections.EXPERT_SCHEDULING) + /** + * @deprecated The option is unnecessary. It is deprecated in 1.20 and will be removed in 2.0. + */ + @Deprecated public static final ConfigOption<Boolean> FINE_GRAINED_SHUFFLE_MODE_ALL_BLOCKING = ConfigOptions.key("fine-grained.shuffle-mode.all-blocking") .booleanType()