You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2012/08/02 08:05:03 UTC

[jira] [Updated] (PIG-2761) With hadoop23 importing modules inside python script does not work

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

Rohini Palaniswamy updated PIG-2761:
------------------------------------

    Attachment: PIG-2761-branch09.patch

Patch for pig 0.9 to work with python scripts in H23. Had to port it to pig-0.9 as many of our users have not migrated to 0.10 yet and so we need 0.9 to work with Hadoop 23.
                
> With hadoop23 importing modules inside python script does not work
> ------------------------------------------------------------------
>
>                 Key: PIG-2761
>                 URL: https://issues.apache.org/jira/browse/PIG-2761
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.10.1
>            Reporter: Rohini Palaniswamy
>            Assignee: Rohini Palaniswamy
>             Fix For: 0.11, 0.10.1
>
>         Attachments: PIG-2761-branch09.patch, PIG-2761-branch10_1.patch, PIG-2761-initial.patch, PIG-2761-trunk.patch, PIG-2761.patch
>
>
> Because unjar has been removed from 23, registering scripts has issue. PIG-2745 addresses the issue of registering scripts with pig. But if the registered py script imports other modules then it does not work. Steps to reproduce the issue in https://issues.apache.org/jira/browse/PIG-2745?focusedCommentId=13396965&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13396965

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira