Github user okram commented on the issue:

    https://github.com/apache/incubator-tinkerpop/pull/325
  
    @dalaro -- what about it doesn't work? Meaning, is your problem just a 
"unregistered class" issue? If so, we just register it. If I have a "bad" 
serializer for one of the registered classes, then we can fix it?
    
    See the classes that I've registered in `GryoSerializer` (The last 7 are 
TinkerPop specific.):
    
    ```java
                            builder.addCustom(Tuple2.class, new 
Tuple2Serializer())
                                    .addCustom(Tuple2[].class)
                                    .addCustom(Tuple3.class, new 
Tuple3Serializer())
                                    .addCustom(Tuple3[].class)
                                    .addCustom(CompactBuffer.class, new 
CompactBufferSerializer())
                                    .addCustom(CompactBuffer[].class)
                                    .addCustom(CompressedMapStatus.class)
                                    .addCustom(BlockManagerId.class)
                                    .addCustom(HighlyCompressedMapStatus.class, 
new ExternalizableSerializer()) 
                                    .addCustom(HttpBroadcast.class)
                                    .addCustom(PythonBroadcast.class)
                                    .addCustom(BoxedUnit.class)
                                    
.addCustom(Class.forName("scala.reflect.ClassTag$$anon$1"), new 
JavaSerializer())
                                    
.addCustom(Class.forName("scala.reflect.ManifestFactory$$anon$1"), new 
JavaSerializer())
                                    .addCustom(WrappedArray.ofRef.class, new 
WrappedArraySerializer())
                                    .addCustom(MessagePayload.class)
                                    .addCustom(ViewIncomingPayload.class)
                                    .addCustom(ViewOutgoingPayload.class)
                                    .addCustom(ViewPayload.class)
                                    .addCustom(SerializableConfiguration.class, 
new JavaSerializer())
                                    .addCustom(VertexWritable.class, new 
VertexWritableSerializer())
                                    .addCustom(ObjectWritable.class, new 
ObjectWritableSerializer())
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to