You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2009/05/07 01:06:30 UTC
[jira] Created: (PIG-800) script1-hadoop.pig in pig tutorial hangs
when run in local mode
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
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.
[jira] Commented: (PIG-800) script1-hadoop.pig in pig tutorial
hangs when run in local mode
Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707040#action_12707040 ]
Olga Natkovich commented on PIG-800:
------------------------------------
+1.
> 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.
[jira] Updated: (PIG-800) script1-hadoop.pig in pig tutorial hangs
when run in local mode
Posted by "Alan Gates (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Gates updated PIG-800:
---------------------------
Resolution: Fixed
Fix Version/s: 0.3.0
Status: Resolved (was: Patch Available)
Patch committed.
> 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
> Fix For: 0.3.0
>
> 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.
[jira] Updated: (PIG-800) script1-hadoop.pig in pig tutorial hangs
when run in local mode
Posted by "Alan Gates (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Gates updated PIG-800:
---------------------------
Attachment: (was: 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.
[jira] Updated: (PIG-800) script1-hadoop.pig in pig tutorial hangs
when run in local mode
Posted by "Alan Gates (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Gates updated PIG-800:
---------------------------
Status: Patch Available (was: Open)
Changed POSort and PODistinct to swallow POStatus.STATUS_NULL instead of going into an infinite loop when they see it.
> 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.
[jira] Updated: (PIG-800) script1-hadoop.pig in pig tutorial hangs
when run in local mode
Posted by "Alan Gates (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (PIG-800) script1-hadoop.pig in pig tutorial
hangs when run in local mode
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707028#action_12707028 ]
Hadoop QA commented on PIG-800:
-------------------------------
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12407547/PIG-800.patch
against trunk revision 771844.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 3 new or modified tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
+1 core tests. The patch passed core unit tests.
+1 contrib tests. The patch passed contrib unit tests.
Test results: http://hudson.zones.apache.org/hudson/job/Pig-Patch-minerva.apache.org/31/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Pig-Patch-minerva.apache.org/31/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: http://hudson.zones.apache.org/hudson/job/Pig-Patch-minerva.apache.org/31/console
This message is automatically generated.
> 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.