Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
0.2
-
None
-
Patch Available
Description
It turns out that Enums in Java don't have good hashcode behavior. It uses object ID, which can be inconsistent between different invocations of the same application, which breaks things like Hadoop partitioning. We should use the hash of the actual thrift field id instead of the hash of the enum version of the field.