[ https://issues.apache.org/jira/browse/PIG-545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671222#action_12671222 ]
Shravan Matthur Narayanamurthy commented on PIG-545: ---------------------------------------------------- It worked with the changes to sort. It produced an even distribution and took about 3 mins lesser. There is still a slight tuning to be done as the first partition is not getting enough data. I will try to tweak it a bit and check if its better than the current one. > PERFORMANCE: Sampler for order bys does not produce a good distribution > ----------------------------------------------------------------------- > > Key: PIG-545 > URL: https://issues.apache.org/jira/browse/PIG-545 > Project: Pig > Issue Type: Bug > Components: impl > Affects Versions: types_branch > Reporter: Alan Gates > Assignee: Pradeep Kamath > Fix For: types_branch > > Attachments: WRP.patch > > > In running tests on actual data, I've noticed that the final reduce of an > order by has skewed partitions. Some reduces finish in a few seconds while > some run for 20 minutes. Getting a better distribution should lead to much > better performance for order by. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.