[ https://issues.apache.org/jira/browse/FLINK-8684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chesnay Schepler closed FLINK-8684. ----------------------------------- Resolution: Fixed master: a926bc69416059acca91b13508bf1b159d921c73 1.5: 21a66eab348173233016e8d69c95c3e102d99be0 > Rework MesosTaskManagerParameters#MESOS_RM_TASKS_SLOTS > ------------------------------------------------------ > > Key: FLINK-8684 > URL: https://issues.apache.org/jira/browse/FLINK-8684 > Project: Flink > Issue Type: Improvement > Components: Documentation, Mesos > Affects Versions: 1.5.0 > Reporter: Chesnay Schepler > Assignee: Chesnay Schepler > Priority: Major > Fix For: 1.5.0 > > > Currently, {{MesosTaskManagerParameters#MESOS_RM_TASKS_SLOTS}} mimics > {{TaskManagerOptions#NUM_TASK_SLOTS}}: > {code:java} > public static final ConfigOption<Integer> MESOS_RM_TASKS_SLOTS = > key(ConfigConstants.TASK_MANAGER_NUM_TASK_SLOTS) > .defaultValue(1); > public static final ConfigOption<Integer> NUM_TASK_SLOTS = > key("taskmanager.numberOfTaskSlots") > .defaultValue(1) > .withDescription("..."); > {code} > This pattern is problematic as this creates 2 documentation entries for > {{taskmanager.numberOfTaskSlots}} with different descriptions, and opens the > potential for different defaults. Ultimately this causes the documentation to > become ambiguous. > I thus propose to either outright remove this option or turn it into an > actual alias: > {code:java} > public static final ConfigOption<Integer> MESOS_RM_TASKS_SLOTS = > TaskManagerOptions.NUM_TASK_SLOTS; > {code} > As a side-effect of FLINK-8683 we can ensure that no differing config options > exist for a given key. -- This message was sent by Atlassian JIRA (v7.6.3#76005)