hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-800) script1-hadoop.pig in pig tutorial hangs when run in local mode
Date Thu, 07 May 2009 16:25:30 GMT

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

Alan Gates updated PIG-800:
---------------------------

    Attachment: PIG-800.patch

> script1-hadoop.pig in pig tutorial hangs when run in local mode
> ---------------------------------------------------------------
>
>                 Key: PIG-800
>                 URL: https://issues.apache.org/jira/browse/PIG-800
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.2.0
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>         Attachments: PIG-800.patch
>
>
> Any script of the form
> {code}
> B = foreach A generate flatten(X); -- X is a bag
> C = distinct B;
> {code}
> where X is sometimes an empty bag will hang in local mode.  If distinct is replaced by
order by it will also hang.
> The issue is that the flatten in foreach returns STATUS_NULL whenever the bag X is empty.
 PODistinct and POSort handle this incorrectly and go into an infinite loop.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message