[jira] [Commented] (FLINK-6384) PythonStreamer does not close python processes

2017-04-26 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/FLINK-6384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15984857#comment-15984857
 ] 

ASF GitHub Bot commented on FLINK-6384:
---

Github user asfgit closed the pull request at:

https://github.com/apache/flink/pull/3774


> PythonStreamer does not close python processes
> --
>
> Key: FLINK-6384
> URL: https://issues.apache.org/jira/browse/FLINK-6384
> Project: Flink
>  Issue Type: Bug
>  Components: Python API
>Affects Versions: 1.3.0
>Reporter: Till Rohrmann
>Assignee: Till Rohrmann
> Fix For: 1.3.0
>
>
> The {{PythonStreamer}} opens a new process calling the python binary to check 
> whether the binary is available. This process won't get closed leading to an 
> excessive number of open python processes when running the 
> {{PythonPlanBinderTest}}. I'm not entirely sure whether we need this extra 
> process, because the actual python call with the python code would also fail 
> if there is no python binary available.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (FLINK-6384) PythonStreamer does not close python processes

2017-04-26 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/FLINK-6384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15984851#comment-15984851
 ] 

ASF GitHub Bot commented on FLINK-6384:
---

Github user tillrohrmann commented on the issue:

https://github.com/apache/flink/pull/3774
  
Thanks for the review @zentol. The failing test cases are unrelated. 
Merging this PR.


> PythonStreamer does not close python processes
> --
>
> Key: FLINK-6384
> URL: https://issues.apache.org/jira/browse/FLINK-6384
> Project: Flink
>  Issue Type: Bug
>  Components: Python API
>Affects Versions: 1.3.0
>Reporter: Till Rohrmann
>Assignee: Till Rohrmann
> Fix For: 1.3.0
>
>
> The {{PythonStreamer}} opens a new process calling the python binary to check 
> whether the binary is available. This process won't get closed leading to an 
> excessive number of open python processes when running the 
> {{PythonPlanBinderTest}}. I'm not entirely sure whether we need this extra 
> process, because the actual python call with the python code would also fail 
> if there is no python binary available.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (FLINK-6384) PythonStreamer does not close python processes

2017-04-25 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/FLINK-6384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15983476#comment-15983476
 ] 

ASF GitHub Bot commented on FLINK-6384:
---

Github user zentol commented on the issue:

https://github.com/apache/flink/pull/3774
  
Looks good, +1 to merge.


> PythonStreamer does not close python processes
> --
>
> Key: FLINK-6384
> URL: https://issues.apache.org/jira/browse/FLINK-6384
> Project: Flink
>  Issue Type: Bug
>  Components: Python API
>Affects Versions: 1.3.0
>Reporter: Till Rohrmann
>Assignee: Till Rohrmann
> Fix For: 1.3.0
>
>
> The {{PythonStreamer}} opens a new process calling the python binary to check 
> whether the binary is available. This process won't get closed leading to an 
> excessive number of open python processes when running the 
> {{PythonPlanBinderTest}}. I'm not entirely sure whether we need this extra 
> process, because the actual python call with the python code would also fail 
> if there is no python binary available.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (FLINK-6384) PythonStreamer does not close python processes

2017-04-25 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/FLINK-6384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15983424#comment-15983424
 ] 

ASF GitHub Bot commented on FLINK-6384:
---

GitHub user tillrohrmann opened a pull request:

https://github.com/apache/flink/pull/3774

[FLINK-6384] [py] Remove python binary check via additional process

The PythonStreamer used to check for the existence of the python binary by
starting a python process. This process was not closed afterwards. This 
caused
the PythonPlanBinderTest to fail locally.

I think the check whether a python binary exists is not necessary since the
subsequent python command would fail anyway if there is no binary available 
on
the system. The system failure message is that there is no such file or 
directory.
This error message should be descriptive enough in order to debug such a 
problem.

cc @zentol

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/tillrohrmann/flink fixPythonStreamer

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/flink/pull/3774.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #3774


commit 746fe59737338c02502443c5c3e88c613d0b92ad
Author: Till Rohrmann 
Date:   2017-04-25T18:41:58Z

[FLINK-6384] [py] Remove python binary check via additional process

The PythonStreamer used to check for the existence of the python binary by
starting a python process. This process was not closed afterwards. This 
caused
the PythonPlanBinderTest to fail locally.

I think the check whether a python binary exists is not necessary since the
subsequent python command would fail anyway if there is no binary available 
on
the system. The system failure message is that there is no such file or 
directory.
This error message should be descriptive enough in order to debug such a 
problem.




> PythonStreamer does not close python processes
> --
>
> Key: FLINK-6384
> URL: https://issues.apache.org/jira/browse/FLINK-6384
> Project: Flink
>  Issue Type: Bug
>  Components: Python API
>Affects Versions: 1.3.0
>Reporter: Till Rohrmann
>Assignee: Till Rohrmann
> Fix For: 1.3.0
>
>
> The {{PythonStreamer}} opens a new process calling the python binary to check 
> whether the binary is available. This process won't get closed leading to an 
> excessive number of open python processes when running the 
> {{PythonPlanBinderTest}}. I'm not entirely sure whether we need this extra 
> process, because the actual python call with the python code would also fail 
> if there is no python binary available.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)