pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Szita (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-5338) Prevent deep copy of DataBag into Jython List
Date Mon, 23 Apr 2018 15:33:00 GMT

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

Adam Szita commented on PIG-5338:
---------------------------------

Yeah those errors look to be related to this patch - perhaps some classloading related issue,
different classpath on MR side vs what is tested locally.

> Prevent deep copy of DataBag into Jython List
> ---------------------------------------------
>
>                 Key: PIG-5338
>                 URL: https://issues.apache.org/jira/browse/PIG-5338
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Greg Phillips
>            Assignee: Greg Phillips
>            Priority: Major
>         Attachments: PIG-5338.patch
>
>
> Pig Python UDFs currently perform deep copies on Bags converting them into Jython PyLists.
This can cause Jython UDFs to run out of memory and fail. A Jython DataBag which extends PyList could
allow for iterative access to DataBag elements, while only performing a deep copy when necessary.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message