Bill Graham created PIG-2870:
--------------------------------

             Summary: pigServer.openIterator fails for jobs with no input splits
                 Key: PIG-2870
                 URL: https://issues.apache.org/jira/browse/PIG-2870
             Project: Pig
          Issue Type: Bug
    Affects Versions: 0.11
            Reporter: Bill Graham
            Assignee: Bill Graham


Jobs that have valid input data, but 0 input splits (this is the case where 
indexing implemented in the {{InputFormat}} might return 0 splits for an 
aggressive filter) fail when {{pigServer.openIterator}} is called. This is 
because {{mapred.output.dir}} isn't set, so the job succeeds without creating 
the empty output directory. The {{ReadToEndLoader}} then fails due to the null 
input directory.

It seems PIG-2578 introduced this issue. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to