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

NO-arg scripts are given an empty string as argument

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 1.4.0
    • API / Python
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: