Re: Access flink-conf.yaml data

2015-03-04 Thread Robert Metzger
nd locally in the meantime > > Johannes > > -Ursprüngliche Nachricht- > Von: ewenstep...@gmail.com [mailto:ewenstep...@gmail.com] Im Auftrag von > Stephan Ewen > Gesendet: Mittwoch, 4. März 2015 12:42 > An: dev@flink.apache.org > Betreff: Re: Access flink-conf.yaml da

Re: Access flink-conf.yaml data

2015-03-04 Thread Kirschnick, Johannes
@flink.apache.org Betreff: Re: Access flink-conf.yaml data I think that #427 is a good way to do this. It bypasses the singleton GlobalConfiguration that I personally hope to get rid of. On Wed, Mar 4, 2015 at 11:49 AM, Robert Metzger wrote: > Hi Johannes, > > This change will allow users

Re: Access flink-conf.yaml data

2015-03-04 Thread Stephan Ewen
...@gmail.com] Im Auftrag von > > Stephan Ewen > > Gesendet: Dienstag, 3. März 2015 10:03 > > An: dev@flink.apache.org > > Betreff: Re: Access flink-conf.yaml data > > > > Hey Dulaj! > > > > As Chiwan said, the GlobalConfiguration object is used to load

Re: Access flink-conf.yaml data

2015-03-04 Thread Robert Metzger
.com] Im Auftrag von > Stephan Ewen > Gesendet: Dienstag, 3. März 2015 10:03 > An: dev@flink.apache.org > Betreff: Re: Access flink-conf.yaml data > > Hey Dulaj! > > As Chiwan said, the GlobalConfiguration object is used to load them > initially. > > You can always use th

Re: Access flink-conf.yaml data

2015-03-04 Thread Kirschnick, Johannes
. März 2015 10:03 An: dev@flink.apache.org Betreff: Re: Access flink-conf.yaml data Hey Dulaj! As Chiwan said, the GlobalConfiguration object is used to load them initially. You can always use that to access the values (it works as a singleton internally) - but we are starting to move away from

Re: Access flink-conf.yaml data

2015-03-03 Thread Stephan Ewen
Hey Dulaj! As Chiwan said, the GlobalConfiguration object is used to load them initially. You can always use that to access the values (it works as a singleton internally) - but we are starting to move away from singletons, as they make test setups and embedding more difficult. In the JobManager

Re: Access flink-conf.yaml data

2015-03-02 Thread Chiwan Park
I think that you can use `org.apache.flink.configuration.GlobalConfiguration` to obtain configuration object. Regards. Chiwan Park (Sent with iPhone) > On Mar 3, 2015, at 12:17 PM, Dulaj Viduranga wrote: > > Hi, > Can someone help me on how to access the flink-conf.yaml configuration values

Access flink-conf.yaml data

2015-03-02 Thread Dulaj Viduranga
Hi, Can someone help me on how to access the flink-conf.yaml configuration values inside the flink sources? Are these readily available as a map somewhere? Thanks.