Version "Unknown" - Flink 1.7.0

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Version "Unknown" - Flink 1.7.0

anaray
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 | Threaded
Open this post in threaded view
|

Re: Version "Unknown" - Flink 1.7.0

Vishal Santoshi
+1 ( though testing in JOB mode  on k8s ) 

On Fri, Feb 1, 2019 at 6:45 PM anaray <[hidden email]> 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 | Threaded
Open this post in threaded view
|

Re: Version "Unknown" - Flink 1.7.0

tison
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 <[hidden email]> 于2019年2月2日周六 下午10:27写道:
+1 ( though testing in JOB mode  on k8s ) 

On Fri, Feb 1, 2019 at 6:45 PM anaray <[hidden email]> 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 | Threaded
Open this post in threaded view
|

Re: Version "Unknown" - Flink 1.7.0

Vishal Santoshi
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 <[hidden email]> wrote:
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 <[hidden email]> 于2019年2月2日周六 下午10:27写道:
+1 ( though testing in JOB mode  on k8s ) 

On Fri, Feb 1, 2019 at 6:45 PM anaray <[hidden email]> 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 | Threaded
Open this post in threaded view
|

Re: Version "Unknown" - Flink 1.7.0

Chesnay Schepler
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 <[hidden email]> wrote:
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 <[hidden email]> 于2019年2月2日周六 下午10:27写道:
+1 ( though testing in JOB mode  on k8s ) 

On Fri, Feb 1, 2019 at 6:45 PM anaray <[hidden email]> 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 | Threaded
Open this post in threaded view
|

Re: Version "Unknown" - Flink 1.7.0

Vishal Santoshi
Ok, I will check. 

On Fri, Apr 12, 2019, 4:47 AM Chesnay Schepler <[hidden email]> wrote:
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 <[hidden email]> wrote:
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 <[hidden email]> 于2019年2月2日周六 下午10:27写道:
+1 ( though testing in JOB mode  on k8s ) 

On Fri, Feb 1, 2019 at 6:45 PM anaray <[hidden email]> 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 | Threaded
Open this post in threaded view
|

Re: Version "Unknown" - Flink 1.7.0

Vishal Santoshi

#Generated by Git-Commit-Id-Plugin

#Wed Apr 03 22:57:42 PDT 2019

git.commit.id.abbrev=4caec0d

git.commit.user.email=[hidden email]

git.commit.message.full=Commit for release 1.8.0\n

git.commit.id=4caec0d4bab497d7f9a8d9fec4680089117593df

git.commit.message.short=Commit for release 1.8.0

git.commit.user.name=Aljoscha Krettek

git.commit.time=03.04.2019 @ 13\:25\:54 PDT


On Mon, Apr 29, 2019 at 8:07 AM Vishal Santoshi <[hidden email]> wrote:
Ok, I will check. 

On Fri, Apr 12, 2019, 4:47 AM Chesnay Schepler <[hidden email]> wrote:
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 <[hidden email]> wrote:
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 <[hidden email]> 于2019年2月2日周六 下午10:27写道:
+1 ( though testing in JOB mode  on k8s ) 

On Fri, Feb 1, 2019 at 6:45 PM anaray <[hidden email]> 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/