You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Hequn Cheng (Jira)" <ji...@apache.org> on 2019/09/18 11:11:00 UTC
[jira] [Commented] (FLINK-14066) Pyflink building failure in master
and 1.9.0 version
[ https://issues.apache.org/jira/browse/FLINK-14066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16932312#comment-16932312 ]
Hequn Cheng commented on FLINK-14066:
-------------------------------------
[~coldmoon7777777] Hi, thanks for reporting the problem!
The flink/target folder can not be used as the FLINK_HOME. However, you can set FLINK_HOME to flink/flink-dist/target/flink-${project.version}-bin/flink-${project.version} if flink/build-target is not generated when build under windows.
The flink/build-target is generated only under Unix systems as a symbolic link of the flink/flink-dist/target/flink-${project.version}-bin/flink-${project.version} folder.
> Pyflink building failure in master and 1.9.0 version
> ----------------------------------------------------
>
> Key: FLINK-14066
> URL: https://issues.apache.org/jira/browse/FLINK-14066
> Project: Flink
> Issue Type: Bug
> Components: API / Python, Build System
> Affects Versions: 1.9.0, 1.10.0
> Environment: windows 10 enterprise x64(mentioned as build environment, not development environment.)
> powershell x64
> flink source master and 1.9.0 version
> jdk-8u202
> maven-3.2.5
> Reporter: Xu Yang
> Priority: Blocker
> Labels: beginner, build
> Attachments: setup.py
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> ATTENTION: This is a issue about building pyflink, not development.
> During we build pyflink...
> After we have built flink from flink source code, a folder named "target" is generated.
> Then, following the document description, "cd flink-python; python3 setup.py sdist bdist_wheel", error happens.
> Root cause: in the setup.py file, line 75, "FLINK_HOME = os.path.abspath("../build-target")", the program can't found folder "build-target", however, the building of flink generated a folder named "target". So error happens in this way...
>
> The right way:
> in ../flink-python/setup.py line 75, modify code as following:
> FLINK_HOME = os.path.abspath("../target")
--
This message was sent by Atlassian Jira
(v8.3.4#803005)