tillrohrmann commented on a change in pull request #7356:
[FLINK-10868][flink-yarn] Enforce maximum TMs failure rate in ResourceManagers
URL: https://github.com/apache/flink/pull/7356#discussion_r258466821
##########
File path:
flink-core/src/main/java/org/apache/flink/configuration/ResourceManagerOptions.java
##########
@@ -55,6 +55,18 @@
" default, the port of the JobManager, because the same
ActorSystem is used." +
" Its not possible to use this configuration key to
define port ranges.");
+ /**
+ * Defines the maximum number of workers (YARN / Mesos) failure can
happen in a minute.
+ * It is to quickly catch external dependency caused workers failure
and terminate job
+ * accordingly. Be default, -1 is set to disable the feature.
+ */
+ public static final ConfigOption<Integer> MAXIMUM_WORKERS_FAILURE_RATE
= ConfigOptions
+ .key("resourcemanager.maximum-workers-failure-rate")
+ .defaultValue(-1)
+ .withDescription("Defines the maximum number of workers (YARN /
Mesos) failure can happen in a minute." +
+ "It is to quickly catch external dependency caused
workers failure and terminate job" +
+ "accordingly. Be default, -1 is set to disable the
feature.");
Review comment:
Missing whitespaces, see the generated output to see where to insert them.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services