You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ruguo Yu (Jira)" <ji...@apache.org> on 2021/01/13 13:36:00 UTC
[jira] [Commented] (FLINK-20927) Update configuration option in
YarnConfigOptions class
[ https://issues.apache.org/jira/browse/FLINK-20927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17264152#comment-17264152 ]
Ruguo Yu commented on FLINK-20927:
----------------------------------
cc [~trohrmann], for the above question, do we need to standardize these configuration option?
> 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
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.13.0
>
> Attachments: 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)