Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-7973

Python doesn't shut down Flink job server properly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: sdk-py-harness

      Description

      Using the new Python FlinkRunner [1], a new job server is created and the job succeeds, but seemingly not being shut down properly when the Python command exits. Specifically, the java -jar command that started the job server is still running in the background, eating up memory.

      Relevant args:

      python ...
      --runner FlinkRunner \
      --flink_job_server_jar $FLINK_JOB_SERVER_JAR ...

      [1] https://github.com/apache/beam/pull/9043

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ibzib Kyle Weaver
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h