Github user mxm commented on the pull request:

    https://github.com/apache/flink/pull/1945#issuecomment-218987472
  
    `GlobalConfiguration` doesn't ensure that the config has been loaded when 
you call `get()`. It will give you an empty `Configuration` if you do not call 
`loadConfiguration` explicitly. If you pass the config after you called the 
load method, it is clear that the config has been loaded.
    
    Your code works, I'll will just open a follow-up issue to make 
GlobalConfiguration more explicit, i.e. fail on `get()` if the config hasn't 
been loaded explicitly.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to