You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Rick Kellogg (JIRA)" <ji...@apache.org> on 2015/10/09 02:25:26 UTC

[jira] [Updated] (STORM-71) java.util.Date isn't serializable.

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

Rick Kellogg updated STORM-71:
------------------------------
    Component/s: storm-core

> 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)