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 <trevor.d.gr...@gmail.com>
wrote:

> 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
>
> *"Fortunate is he, who is able to know the causes of things."  -Virgil*
>
>
> On Thu, Apr 21, 2016 at 5:05 PM, Trevor Grant <trevor.d.gr...@gmail.com>
> wrote:
>
>> 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/users/3002022/rawkintrevo
>> http://trevorgrant.org
>>
>> *"Fortunate is he, who is able to know the causes of things."  -Virgil*
>>
>>
>

Reply via email to