have you compiled Flink yourself?

Could you check whether the flink-dist jar contains a ".version.properties" file in the root directory?

On 12/04/2019 03:42, Vishal Santoshi wrote:
Hello ZILI,
I run flink from the distribution as from https://flink.apache.org/downloads.html#apache-flink-180.
In my case that my flink pipe is  run a job cluster on k8s.

Regards.


On Sat, Feb 2, 2019 at 12:24 PM ZILI CHEN <wander4...@gmail.com <mailto:wander4...@gmail.com>> wrote:

    Theversion is generated in EnvironmentInformation#getVersion. As
    the comment stands,
    the versioncan 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
    <mailto: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
        <mailto: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