flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chesnay Schepler (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-8114) NO-arg scripts are given an empty string as argument
Date Mon, 20 Nov 2017 13:56:00 GMT
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)

Mime
View raw message