[ 
https://issues.apache.org/jira/browse/FLINK-8835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16425111#comment-16425111
 ] 

ASF GitHub Bot commented on FLINK-8835:
---------------------------------------

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

    https://github.com/apache/flink/pull/5808#discussion_r179045129
  
    --- Diff: 
flink-core/src/main/java/org/apache/flink/configuration/TaskManagerOptions.java 
---
    @@ -153,13 +153,13 @@
                                " is typically proportional to the number of 
physical CPU cores that the TaskManager's machine has" +
                                " (e.g., equal to the number of cores, or half 
the number of cores).");
     
    -   public static final ConfigOption<Boolean> 
DEBUG_MEMORY_USAGE_START_LOG_THREAD =
    -           key("taskmanager.debug.memory.startLogThread")
    +   public static final ConfigOption<Boolean> DEBUG_MEMORY_LOG =
    +           key("taskmanager.debug.memory.log")
                        .defaultValue(false)
                        .withDescription("Flag indicating whether to start a 
thread, which repeatedly logs the memory usage of the JVM.");
     
    -   public static final ConfigOption<Long> 
DEBUG_MEMORY_USAGE_LOG_INTERVAL_MS =
    -           key("taskmanager.debug.memory.logIntervalMs")
    +   public static final ConfigOption<Long> DEBUG_MEMORY_USAGE_LOG_INTERVAL =
    +           key("taskmanager.debug.memory.log-interval")
    --- End diff --
    
    missing deprecated key `"taskmanager.debug.memory.logIntervalMs"`


> Fix TaskManager config keys
> ---------------------------
>
>                 Key: FLINK-8835
>                 URL: https://issues.apache.org/jira/browse/FLINK-8835
>             Project: Flink
>          Issue Type: Bug
>          Components: TaskManager
>            Reporter: Stephan Ewen
>            Assignee: mingleizhang
>            Priority: Blocker
>              Labels: easy-fix
>             Fix For: 1.5.0
>
>
> Many new config keys in the TaskManager don't follow the proper naming 
> scheme. We need to clear those up before the release. I would also suggest to 
> keep the key names short, because that makes it easier for users.
> When doing this cleanup pass over the config keys, I would suggest to also 
> make some of the existing keys more hierarchical harmonize them with the 
> common scheme in Flink.
> h1. New Keys
> * {{taskmanager.network.credit-based-flow-control.enabled}} to 
> {{taskmanager.network.credit-model}}.
> h1. Existing Keys
> * {{taskmanager.debug.memory.startLogThread}} => 
> {{taskmanager.debug.memory.log}}
> * {{taskmanager.debug.memory.logIntervalMs}} => 
> {{taskmanager.debug.memory.log-interval}}
> * {{taskmanager.initial-registration-pause}} => 
> {{taskmanager.registration.initial-backoff}}
> * {{taskmanager.max-registration-pause}} => 
> {{taskmanager.registration.max-backoff}}
> * {{taskmanager.refused-registration-pause}} 
> {{taskmanager.registration.refused-backoff}}
> * {{taskmanager.maxRegistrationDuration}} ==> * 
> {{taskmanager.registration.timeout}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to