The version is generated in EnvironmentInformation#getVersion. As the
comment stands,
the version can be null(and rendered as "<unknown>") if the JobManager does
not run from a Maven build.

Specifically Flink getVersion by "version =
EnvironmentInformation.class.getPackage().getImplementationVersion();"

Is it your situation?

Best,
tison.


Vishal Santoshi <vishal.santo...@gmail.com> 于2019年2月2日周六 下午10:27写道:

> +1 ( though testing in JOB mode  on k8s )
>
> On Fri, Feb 1, 2019 at 6:45 PM anaray <anum...@gmail.com> wrote:
>
>> Though not a major issue. I see that Flink UI and REST api gives flink
>> version as "UNKNOWN"
>> I am using flink 1.7.0, with and running the cluster in JOB mode.
>>
>> REST endpoint /overview output
>>
>> {"taskmanagers":1,"slots-total":4,"slots-available":3,"jobs-running":1,"jobs-finished":0,"jobs-cancelled":0,"jobs-failed":0,"*flink-version":"<unknown>*","flink-commit":"49da9f9"}
>>
>>
>>
>>
>>
>>
>>
>> --
>> Sent from:
>> http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
>>
>

Reply via email to