hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Watt (JIRA)" <j...@apache.org>
Subject [jira] Created: (HIVE-1686) XMLEncoder failing to serialize classes containing Enums for non-SUN JREs
Date Fri, 01 Oct 2010 17:12:33 GMT
XMLEncoder failing to serialize classes containing Enums for non-SUN JREs
-------------------------------------------------------------------------

                 Key: HIVE-1686
                 URL: https://issues.apache.org/jira/browse/HIVE-1686
             Project: Hadoop 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
             Fix For: 0.5.1


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.


Mime
View raw message