You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/12/15 12:00:48 UTC

[jira] [Commented] (FLINK-3165) [py] Add support for Windows OS

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

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

GitHub user zentol opened a pull request:

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

    [FLINK-3165] [py] Windows OS support

    This PR allows the usage of the Python API on the Windows Operating System.
    
    Essentially, 4 changes were made:
    * pyflinkX.bat start scripts were added
    * all paths were adjusted to work with both Unix and Windows systems
    * python files on the jobmanager are stored in a randomized folder
      * overlapping python jobs used the same directory, causing data corruption
    * usages of socket.recv(\<toRead\>, socket.MSG_WAITALL) were replaced with a new method
      * MSG_WAITALL flag is not available on windows
      * Note: the flag ensured that recv() returned exactly n bytes, opposed to the default of *up to* n bytes
    
    In addition, several resources are now properly closed in python and error reporting has been improved.

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

    $ git pull https://github.com/zentol/flink 3165_py4windows

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

    https://github.com/apache/flink/pull/1454.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 #1454
    
----
commit 605fb53edf8c8076a7fa81f809776a8492c6145a
Author: zentol <ch...@apache.org>
Date:   2015-12-15T08:38:04Z

    [FLINK-3165] [py] Windows OS support

----


> [py] Add support for Windows OS
> -------------------------------
>
>                 Key: FLINK-3165
>                 URL: https://issues.apache.org/jira/browse/FLINK-3165
>             Project: Flink
>          Issue Type: Improvement
>          Components: Python API
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)