Re: hash preservation

2016-07-29 Thread Maximilian Michels
Hi Robert, >Unfortunately, during the Flink map and reduce phases the objects change >their hash codes and become inconsistent with the keys of the original hashmap If objects change their hash code values, then this means they are not equal anymore. If this is not desired then the

hash preservation

2016-07-28 Thread Robert Schwarzenberg
Dear Flink developers, I have a question concerning the preservation of hash values. I have a hashmap keyed by Scala objects that directly inherit the hashCode() and equals() methods from Any. (These objects are only used to address values in the hashmap mentioned above; they aren't used as