Chesnay Schepler created FLINK-8114:
---------------------------------------

             Summary: NO-arg scripts are given an empty string as argument
                 Key: FLINK-8114
                 URL: https://issues.apache.org/jira/browse/FLINK-8114
             Project: Flink
          Issue Type: Bug
          Components: Python API
    Affects Versions: 1.4.0
            Reporter: Chesnay Schepler
            Assignee: Chesnay Schepler
             Fix For: 1.4.0


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.

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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to