You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2017/11/20 13:56:00 UTC
[jira] [Created] (FLINK-8114) NO-arg scripts are given an empty
string as argument
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)