You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/10/03 04:12:00 UTC

[jira] [Commented] (FLINK-8799) Make AbstractYarnClusterDescriptor immutable

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

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

isunjin commented on issue #5617: [FLINK-8799][YARN] Make AbstractYarnClusterDescriptor immutable
URL: https://github.com/apache/flink/pull/5617#issuecomment-426505899
 
 
   @yanghua, please also close the JIRA: https://issues.apache.org/jira/browse/FLINK-8799

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Make AbstractYarnClusterDescriptor immutable
> --------------------------------------------
>
>                 Key: FLINK-8799
>                 URL: https://issues.apache.org/jira/browse/FLINK-8799
>             Project: Flink
>          Issue Type: Improvement
>          Components: YARN
>    Affects Versions: 1.5.0
>            Reporter: Gary Yao
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.7.0
>
>
> {{AbstractYarnClusterDescriptor}} should be made immutable. Currently, its internal configuration is modified from different places which makes it difficult to reason about the code. For example, it should not be possible to modify the {{zookeeperNamespace}} using a setter method. A user of this class should be forced to provide all information prior to creating the instance, e.g., by passing a {{org.apache.flink.configuration.Configuration}} object.



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