Ruguo Yu created FLINK-20927:
--------------------------------

             Summary: Update configuration option in YarnConfigOptions class
                 Key: FLINK-20927
                 URL: https://issues.apache.org/jira/browse/FLINK-20927
             Project: Flink
          Issue Type: Improvement
          Components: Deployment / YARN
    Affects Versions: 1.12.0
            Reporter: Ruguo Yu
             Fix For: 1.13.0
         Attachments: image-2021-01-11-18-31-04-182.png, 
image-2021-01-11-18-36-20-723.png, image-2021-01-11-18-36-44-811.png

There are many configuration options that use a not recommended method to build 
in _YarnConfigOptions_ class, mainly include the following:

1. Use the deprecated method 'defaultValue' directly instead of specifying the 
data type.

!image-2021-01-11-18-36-20-723.png|width=842,height=90!

2. Use String instead of Enum types.

!image-2021-01-11-18-36-44-811.png|width=1128,height=139!

 

Therefore, for the above problem, we can update it with the new API, which can 
also be consistent with KubernetesConfigOptions.



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

Reply via email to