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

NO-arg scripts are given an empty string as argument

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: API / Python
    • Labels:
      None

      Description

      Each PythonStreamer instance passes the original program arguments to the python process upon creation. However, not check is made whether there were any arguments at all, which results in an empty String being passed as an argument.

      process = Runtime.getRuntime().exec(new String[] {pythonBinaryPath, "-O", "-B", planPath, arguments});
      

        Attachments

          Activity

            People

            • Assignee:
              chesnay Chesnay Schepler
              Reporter:
              chesnay Chesnay Schepler
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: