[ 
https://issues.apache.org/jira/browse/STORM-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

P. Taylor Goetz resolved STORM-71.
----------------------------------
    Resolution: Invalid

> java.util.Date isn't serializable.
> ----------------------------------
>
>                 Key: STORM-71
>                 URL: https://issues.apache.org/jira/browse/STORM-71
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-core
>            Reporter: James Xu
>            Priority: Minor
>
> https://github.com/nathanmarz/storm/issues/316
> I've got a following exception not when I add 
> conf.registerSerialization(java.util.Date.class);
> 2012-08-30 04:49:15 executor [ERROR] 
> java.lang.RuntimeException: com.esotericsoftware.kryo.KryoException: 
> java.lang.IllegalArgumentException: Class is not registered: java.util.Date
> Note: To register this class use: kryo.register(java.util.Date.class);
> Serialization trace:
> ...
> Date is one of the default serializers in kryo.
> http://code.google.com/p/kryo/#Default_serializers
> But it seems not to be registered in getKryo().
> https://github.com/nathanmarz/storm/blob/master/src/jvm/backtype/storm/serialization/SerializationFactory.java



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

Reply via email to