You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2010/03/12 02:04:27 UTC
[jira] Commented: (PIG-1290) WeightedRangePartitioner should not
check if input is empty if quantile file is empty
[ https://issues.apache.org/jira/browse/PIG-1290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12844310#action_12844310 ]
Daniel Dai commented on PIG-1290:
---------------------------------
+1
> WeightedRangePartitioner should not check if input is empty if quantile file is empty
> -------------------------------------------------------------------------------------
>
> Key: PIG-1290
> URL: https://issues.apache.org/jira/browse/PIG-1290
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.6.0, 0.7.0
> Reporter: Pradeep Kamath
> Assignee: Pradeep Kamath
> Fix For: 0.7.0
>
> Attachments: PIG-1290.patch
>
>
> Currently WeightedRangePartitioner checks if the input is also empty if the quantile file is empty. For this it tries to read the input (which under the covers will result in creating splits for the input etc). If the input is a directory with many files, this could result in many calls to the namenode from each task - this can be avoided.
> If the input is non empty and quantile file is empty, then we would error out anyway (this should be confirmed). Also while fixing this jira we should ensure that pig can still do order by on empty input.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.