Re: Programatic way to get version

2016-04-22 Thread Till Rohrmann
But be aware that this method only returns a non null string if the binaries have been built with Maven. Otherwise it will return null. Cheers, Till On Fri, Apr 22, 2016 at 12:12 AM, Trevor Grant wrote: > dug through the codebase, in case any others want to know: > > import org.apache.flink.run

Re: Programatic way to get version

2016-04-21 Thread Trevor Grant
dug through the codebase, in case any others want to know: import org.apache.flink.runtime.util.EnvironmentInformation; EnvironmentInformation.getVersion() Trevor Grant Data Scientist https://github.com/rawkintrevo http://stackexchange.com/users/3002022/rawkintrevo http://trevorgrant.org *"Fo

Programatic way to get version

2016-04-21 Thread Trevor Grant
Is there a programatic way to get the Flink version from the scala shell? I.e. something akin to sc.version I thought I used env.version or something like that once but I couldn't find anything in the scala docs. Trevor Grant Data Scientist https://github.com/rawkintrevo http://stackexchange.com