flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kostas Kloudas (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-5111) Change the assignToKeyGroup() method to not use Object.hashCode()
Date Mon, 21 Nov 2016 14:23:58 GMT
Kostas Kloudas created FLINK-5111:
-------------------------------------

             Summary: Change the assignToKeyGroup() method to not use Object.hashCode()
                 Key: FLINK-5111
                 URL: https://issues.apache.org/jira/browse/FLINK-5111
             Project: Flink
          Issue Type: Bug
    Affects Versions: 1.2.0
            Reporter: Kostas Kloudas
            Priority: Blocker
             Fix For: 1.2.0


Currently we use the Object.hashCode method as an intermediate step to assign an item to a
key group. According to the java documentation:

"This integer (returned by the method) need not remain consistent from one execution of an
application to another execution of the same application."

This means that a key may be assigned to another keygroup after restoring. This can easily
break the semantics of a pipeline.



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

Mime
View raw message