Grokbase Groups Pig dev November 2009
FAQ
[ https://issues.apache.org/jira/browse/PIG-98?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Gates reassigned PIG-98:
-----------------------------

Assignee: Stefan Groschupf
grunt should show full exception stack
--------------------------------------

Key: PIG-98
URL: https://issues.apache.org/jira/browse/PIG-98
Project: Pig
Issue Type: Improvement
Components: grunt
Reporter: Stefan Groschupf
Assignee: Stefan Groschupf
Priority: Minor
Attachments: showStackTrace-20080207.patch


I suggest grunt should be more helpful with user errors. I just did one (a stupid one) and it took my too long to figure out the problem, since grunts error message was just not giving me a good hint:
grunt> A = LOAD '/pigtestData.tsv' USING PigStorage(',') AS (user,age,cat);
grunt> B = FILTER A BY cat == 'book';
grunt> dump B;
For input string: "book"
Experts will see that I tried to use == instead of eq, however especially new users could get a little confused.
I see two chances add Error Number and descriptive texts (Oracle style) - this quite a lot of work, or for now I suggest to simply dump the full exception text.
At least for this early stage it would developers and users to find problems faster.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categoriespig, hadoop
postedNov 12, '09 at 4:54a
activeNov 12, '09 at 4:54a
posts1
users1
websitepig.apache.org

1 user in discussion

Alan Gates (JIRA): 1 post

People

Translate

site design / logo © 2022 Grokbase