Github user tillrohrmann commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5271#discussion_r161249685
  
    --- Diff: 
flink-core/src/main/java/org/apache/flink/configuration/ResourceManagerOptions.java
 ---
    @@ -58,6 +58,27 @@
                .defaultValue(600)
                .withDeprecatedKeys("yarn.heap-cutoff-min");
     
    +   /**
    +    * The timeout for requesting slot to a task manager, in milliseconds.
    +    */
    +   public static final ConfigOption<Integer> TASK_MANAGER_REQUEST_TIMEOUT 
= ConfigOptions
    +                   .key("slotmanager.taskmanager.request-timeout")
    +                   .defaultValue(30000);
    +
    +   /**
    +    * The timeout for a slot request to be discarded, in milliseconds.
    +    */
    +   public static final ConfigOption<Integer> SLOT_REQUEST_TIMEOUT = 
ConfigOptions
    +                   .key("slotmanager.slot.request-timeout")
    +                   .defaultValue(600000);
    +
    +   /**
    +    * The timeout for an idle task manager to be released, in milliseconds.
    +    */
    +   public static final ConfigOption<Integer> TASK_MANAGER_TIMEOUT = 
ConfigOptions
    +                   .key("slotmanager.taskmanager.timeout")
    --- End diff --
    
    maybe `slotmanager.taskmanager-timeout`


---

Reply via email to