[ 
https://issues.apache.org/jira/browse/PIG-3346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13681777#comment-13681777
 ] 

Cheolsoo Park commented on PIG-3346:
------------------------------------

[~aniket486], I don't think I fully understand what you mean. Doesn't 
InputSplit#getLocations() returns locations of replicates?

http://hadoop.apache.org/docs/stable/api/org/apache/hadoop/mapreduce/InputSplit.html

How do you limit the number of files processed by a mapper with this? Do you 
mind elaborating your idea?


                
> New property that controls the number of combined splits
> --------------------------------------------------------
>
>                 Key: PIG-3346
>                 URL: https://issues.apache.org/jira/browse/PIG-3346
>             Project: Pig
>          Issue Type: Improvement
>          Components: impl
>            Reporter: Cheolsoo Park
>            Assignee: Cheolsoo Park
>             Fix For: 0.12
>
>         Attachments: PIG-3346-2.patch, PIG-3346.patch
>
>
> Currently, the size of combined splits can be configured by the 
> {{pig.maxCombinedSplitSize}} property.
> Although this works fine most of time, it can lead to a undesired situation 
> where a single mapper ends up loading a lot of combined splits. Particularly, 
> this is bad if Pig uploads them from S3.
> So it will be useful if the max number of combined splits can be configured 
> via a property something like {{pig.maxCombinedSplitNum}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to