pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Ding (JIRA)" <j...@apache.org>
Subject [jira] Created: (PIG-1513) Skewed join doesn't handle empty input directory
Date Thu, 22 Jul 2010 18:50:50 GMT
Skewed join doesn't handle empty input directory
------------------------------------------------

                 Key: PIG-1513
                 URL: https://issues.apache.org/jira/browse/PIG-1513
             Project: Pig
          Issue Type: Bug
            Reporter: Richard Ding
            Assignee: Richard Ding
             Fix For: 0.8.0



The following script

{code}
A = load 'input';
B = load 'emptydir';
C = join B by $0, A by $0 using 'skewed';
dump C
{code}

fails with "ERROR: java.lang.RuntimeException: Empty samples file';

In this case, the sample job has 0 maps.  Pig doesn't expect this and fails . 

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