Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Invalid
-
3.1.1-incubating
-
None
-
None
Description
If you have a HashMap filled with objects that are Kryo serializable (that is, the objects have a registered Serializer), it will try and serialize them as Java serialization objects.
I believe this is because of add(Triplet.<Class, Function<Kryo, Serializer>, Integer>with(HashMap.class, null, 11)); means use JavaSerializer and thus, Kryo serialization ends there. ?? .... :|
I'm noticing this when I have a HashMap full of ComputerVertex objects which implement Vertex, but I'm get a "ComputerVertex not serializable exception" when it should be converted to a DetachedVertex and serialized. ???