apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Ganelin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APEXMALHAR-175) KeyValPair isn't automatically sticky partitioned for key
Date Wed, 01 Jun 2016 18:08:59 GMT

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

Ilya Ganelin commented on APEXMALHAR-175:
-----------------------------------------

[~pramod@datatorrent.com] Which operators have this invalid usage?


> KeyValPair isn't automatically sticky partitioned for key
> ---------------------------------------------------------
>
>                 Key: APEXMALHAR-175
>                 URL: https://issues.apache.org/jira/browse/APEXMALHAR-175
>             Project: Apache Apex Malhar
>          Issue Type: Task
>            Reporter: Pramod Immaneni
>            Assignee: Ilya Ganelin
>
> KeyValPair is being used in some operators with the assumption that it will be sticky
partitioned for key but it doesn't override hashcode function returning the key hashcode.
KeyValPair extends AbstractMap.SimpleEntry which overrides hashcode and it is a function of
both key and value.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message