hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-1001) Generate more meaningful error message when one input file does not exist
Date Wed, 28 Oct 2009 22:15:59 GMT

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

Daniel Dai commented on PIG-1001:
---------------------------------

Hi, Alan,
The code do remove B and C. It uses fifo to achieve that to avoid recursion. But you reminds
me that we have trimBlow(). We should use trimBlow() instead of implementing a duplicate logic.


> Generate more meaningful error message when one input file does not exist
> -------------------------------------------------------------------------
>
>                 Key: PIG-1001
>                 URL: https://issues.apache.org/jira/browse/PIG-1001
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.4.0
>            Reporter: Daniel Dai
>             Fix For: 0.6.0
>
>         Attachments: PIG-1001-1.patch
>
>
> In the following query, if 1.txt does not exist, 
> a = load '1.txt';
> b = group a by $0;
> c = group b all;
> dump c;
> Pig throws error message "ERROR 2100: file:/tmp/temp155054664/tmp1144108421 does not
exist.", Pig should deal with it with the error message "Input file 1.txt not exist" instead
of those confusing messages.

-- 
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