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] Updated: (PIG-1001) Generate more meaningful error message when one input file does not exist
Date Mon, 19 Oct 2009 18:23:59 GMT

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

Daniel Dai updated PIG-1001:
----------------------------

    Description: 
In the following query, if 2.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 2.txt not exist" instead of those
confusing messages.

  was:
In the following query, if 2.txt does not exist, 

a = load '1.txt';
b = order a by $0;
c = load '2.txt';
d = order c by $0;
e = join b by $0, d by $0;
dump e;

Pig throws error message "ERROR 2100: file:/tmp/temp155054664/tmp1144108421 does not exist.",
Pig should deal with it with the error message "Input file 2.txt not exist" instead of those
confusing 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
>             Fix For: 0.6.0
>
>         Attachments: PIG-1001-1.patch
>
>
> In the following query, if 2.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 2.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