gaoyunhaii commented on a change in pull request #8740: [FLINK-12763][runtime] 
Fail job immediately if tasks’ resource needs can not be satisfied.
URL: https://github.com/apache/flink/pull/8740#discussion_r294566425
 
 

 ##########
 File path: 
flink-core/src/main/java/org/apache/flink/configuration/ResourceManagerOptions.java
 ##########
 @@ -85,6 +85,20 @@
                .defaultValue(-1L)
                .withDescription("The timeout for a slot request to be 
discarded.");
 
+       /**
+        * Time in milliseconds for the cluster initialization.
+        * Used by the resource manager in standalone mode to decide in how 
long time the task executors should register.
+        * After this time, slot requests that exceed capacity of all 
registered slots will be considered not satisfiable
+        * and failed. If not configured, {@link 
JobManagerOptions#SLOT_REQUEST_TIMEOUT} will be used by default.
+        */
+       public static final ConfigOption<Long> CLUSTER_INITIALIZATION_TIME = 
ConfigOptions
+               .key("resourcemanager.cluster-init-time")
 
 Review comment:
   I feel that `cluster-init-time` seems to be too general. Do you think names 
like `resourcemanager.standalone.slot-resources-registration-timeout` would be 
better?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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

Reply via email to