Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-14066

Pyflink building failure in master and 1.9.0 version

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: 1.9.0, 1.10.0
    • Fix Version/s: None
    • Component/s: API / Python, Build System
    • 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

    • Flags:
      Important

      Description

      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")

        Attachments

        1. setup.py
          9 kB
          Xu Yang

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                coldmoon7777777 Xu Yang
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Time Spent - 10m Remaining Estimate - 50m
                  50m
                  Logged:
                  Time Spent - 10m Remaining Estimate - 50m
                  10m