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

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

yanghua edited a comment on issue #6542: [FLINK-6437][History Server] Move 
history server configuration to a separate file
URL: https://github.com/apache/flink/pull/6542#issuecomment-412736043
 
 
   hi @StephanEwen @zentol ,
   
   Currently, the history server runs as a single JVM process, which means it 
is a separate component. I think the configuration split is reasonable. If I 
only need to start the history server then I don't rely on other 
configurations, and I don't need to pay attention to other configurations.
   
   Regarding the discussion of compatibility, I basically agree with @zentol  
's point of view.
   
   Basic on the existing implementation, I think we can add more log warnings 
in the new method of `GlobalConfiguration`. The general idea is as follows:
   
   * Judge the new configuration file, if it does not exist, I will add a log 
to inform the user that he is using the old configuration;
   * If the new configuration and the old configuration about history server 
exist at the same time,  then we will warn the user that there are two 
configurations and we will base on the `flink-historyserver-conf.yaml`;
   
   In addition, I will give a log warning when the configuration file is loaded 
by the `HistoryServer#main` method, for example : 
   
   > the current configuration about history server in `flink-conf.yaml` is 
only for backward compatibility, it is recommended that they enable the new 
configuration file `flink-historyserver-conf.yaml`.
   
   In addition, I will comment out the configuration items in the 
`flink-historyserver-conf.yaml`, considering that we have done so many guides, 
I believe users will be more likely to accept the correct guidelines.
   
   Even if it is based on a configuration already in `flink-conf.yaml`, the 
current implementation will still work. But if we say that there are 
configurations in both files, we seem to have no better way than to give a 
warning "based on `flink-historyserver-conf.yaml`".

----------------------------------------------------------------
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:
us...@infra.apache.org


> Move history server configuration to a separate file
> ----------------------------------------------------
>
>                 Key: FLINK-6437
>                 URL: https://issues.apache.org/jira/browse/FLINK-6437
>             Project: Flink
>          Issue Type: Improvement
>          Components: History Server
>    Affects Versions: 1.3.0
>            Reporter: Stephan Ewen
>            Assignee: vinoyang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.7.0
>
>
> I suggest to keep the {{flink-conf.yaml}} leaner by moving configuration of 
> the History Server to a different file.
> In general, I would propose to move configurations of separate, independent 
> and optional components to individual config files.



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

Reply via email to