You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Guodong Xu (JIRA)" <ji...@apache.org> on 2019/04/09 07:45:00 UTC
[jira] [Commented] (BIGTOP-3204) Upgrade flink from 1.4.2 to 1.6.0
or higher
[ https://issues.apache.org/jira/browse/BIGTOP-3204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16813086#comment-16813086 ]
Guodong Xu commented on BIGTOP-3204:
------------------------------------
I root caused this to bigtop-packages/src/common/flink/install_flink.sh, which enforces copying a 'resources' folder in flink 1.4.2 and before; however, 'resources' folder doesn't exist on flink 1.6.0 any more.
I modified install_flink.sh not to copy 'resources', but would submit a patch only after I can pass flink tests.
I'll be back.
> Upgrade flink from 1.4.2 to 1.6.0 or higher
> -------------------------------------------
>
> Key: BIGTOP-3204
> URL: https://issues.apache.org/jira/browse/BIGTOP-3204
> Project: Bigtop
> Issue Type: Improvement
> Components: flink
> Affects Versions: 1.3.0
> Reporter: Guodong Xu
> Assignee: Guodong Xu
> Priority: Major
>
> I'm trying to upgrade flink version from 1.4.2 to 1.6.0, but met this error in build:
> What I changed is very simple: in bigtop.bom, change
> 'flink' {
> ...
> - version \{ base = '1.4.2'; pkg = base; release = 1 }
> + version \{ base = '1.6.0'; pkg = base; release = 1 }
>
> Then, I use "./gradlew flink-rpm" to build rpm.
>
> However, at the end, I
>
> + cp -ra '/ws/build/flink/rpm/BUILD/flink-1.6.0/flink-dist/target/flink-1.6.0-bin/flink-1.6.0//resources/*' /ws/build/flink/rpm/BUILDROOT/flink-1.6.0-1.el7.aarch64//usr/lib/flink/resources/
> cp: cannot stat '/ws/build/flink/rpm/BUILD/flink-1.6.0/flink-dist/target/flink-1.6.0-bin/flink-1.6.0//resources/*': No such file or directory
> error: Bad exit status from /var/tmp/rpm-tmp.mobEKh (%install)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)