You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Bill Graham (Updated) (JIRA)" <ji...@apache.org> on 2012/03/13 20:28:40 UTC
[jira] [Updated] (PIG-2574) Make reducer estimator plugable
[ https://issues.apache.org/jira/browse/PIG-2574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bill Graham updated PIG-2574:
-----------------------------
Attachment: pig-2574_1.patch
Here's a first pass at a patch showing a proposed solution. It adds the following interface and default impl:
{noformat}
o.a.p.backend.hadoop.executionengine.mapReduceLayer.PigReducerEstimator
o.a.p.backend.hadoop.executionengine.mapReduceLayer.InputFileSizeReducerEstimator
{noformat}
along with the following two optional configs to override the default estimator:
{noformat}
pig.exec.reducer.estimator
pig.exec.reducer.estimator.arg
{noformat}
> Make reducer estimator plugable
> -------------------------------
>
> Key: PIG-2574
> URL: https://issues.apache.org/jira/browse/PIG-2574
> Project: Pig
> Issue Type: Improvement
> Reporter: Bill Graham
> Assignee: Bill Graham
> Attachments: pig-2574_1.patch
>
>
> I'd like to refactor the logic contained in this method into a pluggable interface:
> {noformat}
> static int JobControlCompiler.estimateNumberOfReducers(Configuration conf, List<POLoad> lds);
> {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