You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2014/02/07 08:37:19 UTC

[jira] [Updated] (PIG-3752) Fix e2e Parallel test for Windows

     [ https://issues.apache.org/jira/browse/PIG-3752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Dai updated PIG-3752:
----------------------------

    Attachment: PIG-3752-1.patch

Instruction for test environment:
1. Install cygwin 1.7.28+ (earlier version has a bug), minimum core + perl, dev module
2. Install perl module (Parallel::ForkManager, IPC::Run)
To install it, open a cygwin terminal, use "cpan Parallel::ForkManager" etc to install.
3. Need to put $CYGWIN_HOME/bin in PATH, after GnuWin32. Test will pick perl from cygwin, every other utilities still from GnuWin32.

> Fix e2e Parallel test for Windows
> ---------------------------------
>
>                 Key: PIG-3752
>                 URL: https://issues.apache.org/jira/browse/PIG-3752
>             Project: Pig
>          Issue Type: Bug
>          Components: e2e harness
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: 0.13.0
>
>         Attachments: PIG-3752-1.patch
>
>
> Parallel e2e test does not work for Windows (either activePerl or strawberryPerl). This is because IPC::Run module has limitation under Win32 (http://search.cpan.org/~toddr/IPC-Run-0.92/lib/IPC/Run.pm#Win32_LIMITATIONS). It will run into crash or deadlock. Fortunately cygwin perl does not use Win32 subsystem, and it does not have this issue. So we want to solve this by using cygwin perl.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)