[jira] [Created] (FLINK-18426) Incompatible deprecated key type for registration cluster options

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-18426) Incompatible deprecated key type for registration cluster options

Shang Yuanchun (Jira)
Till Rohrmann created FLINK-18426:
-------------------------------------

             Summary: Incompatible deprecated key type for registration cluster options
                 Key: FLINK-18426
                 URL: https://issues.apache.org/jira/browse/FLINK-18426
             Project: Flink
          Issue Type: Bug
          Components: Runtime / Configuration, Runtime / Coordination
    Affects Versions: 1.11.0
            Reporter: Till Rohrmann
            Assignee: Till Rohrmann
             Fix For: 1.12.0, 1.11.1


With FLINK-15827 we deprecated unused {{TaskManagerOptions}}. As part of this deprecation, we added them as deprecated keys for a couple of {{ClusterOptions}}. The problem is that the deprecated keys are of type {{Duration}} whereas the valid options are of type {{Long}}. Hence, the system will fail if a deprecated config option has been configured because it cannot be parsed as a long.

In order to solve the problem, I propose to remove the deprecated keys from the new {{ClusterOptions}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)