You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2017/01/11 22:32:17 UTC
[jira] [Updated] (PIG-5088) HashValuePartitioner has skew when
there is only map fields
[ https://issues.apache.org/jira/browse/PIG-5088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rohini Palaniswamy updated PIG-5088:
------------------------------------
Attachment: PIG-5088-1.patch
> HashValuePartitioner has skew when there is only map fields
> -----------------------------------------------------------
>
> Key: PIG-5088
> URL: https://issues.apache.org/jira/browse/PIG-5088
> Project: Pig
> Issue Type: Bug
> Reporter: Rohini Palaniswamy
> Assignee: Rohini Palaniswamy
> Fix For: 0.17.0, 0.16.1
>
> Attachments: PIG-5088-1.patch
>
>
> One user who just did union of map fields, got a skew with everything going to one input file as hashcode for map was calculated on the size. [~knoguchi] pointed out that my assumption of map hashcode being non-deterministic and can change with jdk versions is wrong as it just does a sum of hashcode of its entries.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)