You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by anaray <an...@gmail.com> on 2019/02/01 23:45:00 UTC

Version "Unknown" - Flink 1.7.0

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/

Re: Version "Unknown" - Flink 1.7.0

Posted by Vishal Santoshi <vi...@gmail.com>.
#Generated by Git-Commit-Id-Plugin

#Wed Apr 03 22:57:42 PDT 2019

git.commit.id.abbrev=4caec0d

git.commit.user.email=aljoscha.krettek@gmail.com

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 <vi...@gmail.com>
wrote:

> Ok, I will check.
>
> On Fri, Apr 12, 2019, 4:47 AM Chesnay Schepler <ch...@apache.org> 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 <wa...@gmail.com> 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 <vi...@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 <an...@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/
>>>>>
>>>>
>>

Re: Version "Unknown" - Flink 1.7.0

Posted by Vishal Santoshi <vi...@gmail.com>.
Ok, I will check.

On Fri, Apr 12, 2019, 4:47 AM Chesnay Schepler <ch...@apache.org> 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 <wa...@gmail.com> 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 <vi...@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 <an...@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/
>>>>
>>>
>

Re: Version "Unknown" - Flink 1.7.0

Posted by Chesnay Schepler <ch...@apache.org>.
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 <wander4096@gmail.com 
> <ma...@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.santoshi@gmail.com
>     <ma...@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 <anumodh@gmail.com
>         <ma...@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/
>


Re: Version "Unknown" - Flink 1.7.0

Posted by Vishal Santoshi <vi...@gmail.com>.
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 <wa...@gmail.com> 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 <vi...@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 <an...@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/
>>>
>>

Re: Version "Unknown" - Flink 1.7.0

Posted by ZILI CHEN <wa...@gmail.com>.
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 <vi...@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 <an...@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/
>>
>

Re: Version "Unknown" - Flink 1.7.0

Posted by Vishal Santoshi <vi...@gmail.com>.
+1 ( though testing in JOB mode  on k8s )

On Fri, Feb 1, 2019 at 6:45 PM anaray <an...@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/
>