You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Kengo Seki (Jira)" <ji...@apache.org> on 2021/02/19 05:43:00 UTC

[jira] [Commented] (BIGTOP-3503) Set the correct version info to Flink

    [ https://issues.apache.org/jira/browse/BIGTOP-3503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17286855#comment-17286855 ] 

Kengo Seki commented on BIGTOP-3503:
------------------------------------

Strangely, it occurs only on CentOS 7. Version is correctly shown on CentOS 8, Debian 10 and Ubuntu 18.04.

{code}
$ ./docker-hadoop.sh -d -k 'hdfs, yarn, flink' -L -C config_centos-7.yaml -c 1

...

$ ./docker-hadoop.sh --exec 1 flink -v
Version: <unknown>, Commit ID: DeadD0d0
{code}

{code}
$ ./docker-hadoop.sh -d -k 'hdfs, yarn, flink' -L -C config_centos-8.yaml -c 1

...

$ ./docker-hadoop.sh --exec 1 flink -v
Version: 1.11.3, Commit ID: 5c1f2cc
{code}

{code}
$ ./docker-hadoop.sh -d -k 'hdfs, yarn, flink' -L -C config_debian-10.yaml -c 1

...

$ ./docker-hadoop.sh --exec 1 flink -v
Version: 1.11.3, Commit ID: 32f6a03
{code}

{code}
$ ./docker-hadoop.sh -d -k 'hdfs, yarn, flink' -L -C config_ubuntu-18.04.yaml -c 1

...

$ ./docker-hadoop.sh --exec 1 flink -v
Version: 1.11.3, Commit ID: a114688
{code}

A file called .flink-runtime.version.properties doesn't seem to be included in the flink-dist jar only on CentOS 7 for some reason.

> Set the correct version info to Flink
> -------------------------------------
>
>                 Key: BIGTOP-3503
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-3503
>             Project: Bigtop
>          Issue Type: Bug
>          Components: flink
>            Reporter: Kengo Seki
>            Priority: Major
>
> Currently, flink doesn't show the correct version for some reason.
> {code:java}
> $ ./docker-hadoop.sh -d -k flink -L -c 1
> ...
> $ ./docker-hadoop.sh --exec 1 flink -v
> Version: <unknown>, Commit ID: DeadD0d0
> {code}
> Zeppelin checks its version when invoking FlinkInterpreter, so it doesn't work.
>  [https://github.com/apache/zeppelin/blob/89f4ee77464030bf0aae6f07af6aa4ba0250041e/flink/flink-shims/src/main/java/org/apache/zeppelin/flink/FlinkShims.java#L66]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)