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

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

Github user StephanEwen commented on the issue:

    https://github.com/apache/flink/pull/2123
  
    Looks like a good fix for now.
    
    I would eventually really like to get rid of the `GlobalConfiguration` 
singleton - it causes issues with embedding, testing, and encourages to not 
cleanly think through designs.
    
    In the end, the `GlobalConfiguration` would only be an XML / YAML loader 
that returns a `Configuration` object.


> GlobalConfiguration doesn't ensure config has been loaded
> ---------------------------------------------------------
>
>                 Key: FLINK-3904
>                 URL: https://issues.apache.org/jira/browse/FLINK-3904
>             Project: Flink
>          Issue Type: Improvement
>            Reporter: Maximilian Michels
>            Assignee: Maximilian Michels
>            Priority: Minor
>             Fix For: 1.1.0
>
>
> By default, {{GlobalConfiguration}} returns an empty Configuration. Instead, 
> a call to {{get()}} should fail if the config hasn't been loaded explicitly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to