[ https://issues.apache.org/jira/browse/PIG-2616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bill Graham updated PIG-2616: ----------------------------- Attachment: pig-2616.1.patch > JobControlCompiler.getInputSizeFromLoader must handle exceptions from > LoadFunc.getStatistics. > --------------------------------------------------------------------------------------------- > > Key: PIG-2616 > URL: https://issues.apache.org/jira/browse/PIG-2616 > Project: Pig > Issue Type: Bug > Reporter: Bill Graham > Assignee: Bill Graham > Attachments: pig-2616.1.patch > > > PIG-2573 made it possible for {{JobControlCompiler}} to get input size from > {{LoadFuncs}}, but in some cases (i.e. {{InterStorage}}), {{getStatistics}} > throws an exception: > {noformat} > Caused by: java.lang.UnsupportedOperationException > at > org.apache.pig.impl.io.InterStorage.getStatistics(InterStorage.java:189) > at > org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler.getInputSizeFromLoader(JobControlCompiler.java:839) > at > org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler.getInputSize(JobControlCompiler.java:799) > at > org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler.estimateNumberOfReducers(JobControlCompiler.java:777) > at > org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler.getJob(JobControlCompiler.java:599) > {noformat} -- 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