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, 11 Nov 2009 18:18:39 GMT

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

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

Hi, Nigel,
Since this patch is all about error message and user experience, so it is hard to write a
unit test case for that. I tested it manually with the following situations:
1. All jobs are successful
2. One complete failed job, and we stop launching dependent jobs
3. Two independent job, one fail, with and without -F option

All of those give us desired error messages.

> 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
>            Assignee: Daniel Dai
>             Fix For: 0.6.0
>
>         Attachments: PIG-1001-1.patch, PIG-1001-2.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