[
https://issues.apache.org/jira/browse/PIG-196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arun C Murthy updated PIG-196:
------------------------------
Attachment: PIG-196_0_20080412.patch
Straight-forward fix, it sets number of reduces to zero.
The one change is that map-only jobs will have outputs created by the
Map-Reduce framework and hence they will be named part-[0-9] and not map-[0-9]
as previously...
> Pig should use '-reducer NONE' for map-only jobs
> ------------------------------------------------
>
> Key: PIG-196
> URL: https://issues.apache.org/jira/browse/PIG-196
> Project: Pig
> Issue Type: Bug
> Reporter: Arun C Murthy
> Assignee: Arun C Murthy
> Attachments: PIG-196_0_20080412.patch
>
>
> Currently, for map-only jobs, Pig writes map-outputs directly to HDFS and
> then sends zero data to reducers. The problem with this is two fold:
> * Reduce slots are unnecessarily wasted on the cluster
> * Reduces write empty files to HDFS putting pressure on the Namenode
> Both these can we very easily avoided by just calling:
> {noformat}
> job.setNumReduces(0);
> {noformat}
> and letting Hadoop Map-Reduce take care of writing map-outputs directly to
> HDFS.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.