pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Graham (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (PIG-2616) JobControlCompiler.getInputSizeFromLoader must handle exceptions from LoadFunc.getStatistics.
Date Thu, 26 Apr 2012 22:50:50 GMT

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

Bill Graham resolved PIG-2616.
------------------------------

    Resolution: Fixed
    
> 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
>             Fix For: 0.11
>
>         Attachments: PIG-2616.3.patch, pig-2616.1.patch, pig-2616.2.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

        

Mime
View raw message