[ https://issues.apache.org/jira/browse/HIVE-1686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carl Steinbach updated HIVE-1686: --------------------------------- Fix Version/s: (was: 0.5.1) > XMLEncoder failing to serialize classes containing Enums for non-SUN JREs > ------------------------------------------------------------------------- > > Key: HIVE-1686 > URL: https://issues.apache.org/jira/browse/HIVE-1686 > Project: Hive > Issue Type: Bug > Components: Serializers/Deserializers > Affects Versions: 0.5.0 > Environment: SLES 10 SP2, IBM Java 1.6 SR8 > Reporter: Stephen Watt > Priority: Minor > Attachments: HIVE-1686.patch > > > If one is using Hive 0.5 with IBM Java 1.6 certain Hive Queries will fail in > the Hive CLI, such as "SELECT Count(1) from TABLE" with the error "failed to > write expression: GenericUDAFEvaluator$Mode=Class.new()". This is due to the > fact that XMLEncoder in the JRE's beans.jar is not able to serialize Classes > with Enums without an explicitly having an EnumPersistenceDelegate assigned > to each class that needs to be serialized. This was an issue in SUN JDK 1.5 > but not 1.6 and is still an issue in IBM Java 1.6. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.