[
https://issues.apache.org/jira/browse/PIG-2693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julien Le Dem resolved PIG-2693.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.11
> LoadFunc.setLocation should be called before LoadMetadata.getStatistics
> ------------------------------------------------------------------------
>
> Key: PIG-2693
> URL: https://issues.apache.org/jira/browse/PIG-2693
> Project: Pig
> Issue Type: Bug
> Reporter: Bill Graham
> Assignee: Bill Graham
> Fix For: 0.11
>
> Attachments: PIG-2693.1.patch, PIG-2693.2.patch, PIG-2693.3.patch
>
>
> We ran into a bug with Pig/HCatalog integration on the trunk. The issue is
> that {{JobControlCompiler}} calls the {{adjustNumReducers}} method just
> before it calls {{setLocation}} on all of the {{LoadFuncs}}. This causes
> problems, since some loaders (i.e., {{HCatLoader}}) need {{setLocation}} to
> be called before it can respond to {{getStatistics}} with it's data size.
--
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