You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "James Xu (JIRA)" <ji...@apache.org> on 2013/12/14 07:19:06 UTC
[jira] [Created] (STORM-71) java.util.Date isn't serializable.
James Xu created STORM-71:
-----------------------------
Summary: java.util.Date isn't serializable.
Key: STORM-71
URL: https://issues.apache.org/jira/browse/STORM-71
Project: Apache Storm (Incubating)
Issue Type: Bug
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.1.4#6159)