This is an automated email from the ASF dual-hosted git repository.

spmallette pushed a commit to branch TINKERPOP-2076
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 7ef8b78e8ca682ecd61e725142778bb1af56a661
Author: stephen <spmalle...@gmail.com>
AuthorDate: Tue Nov 12 05:04:30 2019 -0500

    TINKERPOP-2076 Removed a scala class registration from gryo
    
    Not sure why that class was necessary as test seem to pass without it. I 
guess if it comes up again later, we'll just add it back.
---
 .../tinkerpop/gremlin/spark/structure/io/gryo/GryoRegistrator.java       | 1 -
 .../apache/tinkerpop/gremlin/spark/structure/io/gryo/GryoSerializer.java | 1 -
 2 files changed, 2 deletions(-)

diff --git 
a/spark-gremlin/src/main/java/org/apache/tinkerpop/gremlin/spark/structure/io/gryo/GryoRegistrator.java
 
b/spark-gremlin/src/main/java/org/apache/tinkerpop/gremlin/spark/structure/io/gryo/GryoRegistrator.java
index 13fc787..d1f7725 100644
--- 
a/spark-gremlin/src/main/java/org/apache/tinkerpop/gremlin/spark/structure/io/gryo/GryoRegistrator.java
+++ 
b/spark-gremlin/src/main/java/org/apache/tinkerpop/gremlin/spark/structure/io/gryo/GryoRegistrator.java
@@ -199,7 +199,6 @@ public class GryoRegistrator implements KryoRegistrator {
         // of the entries are for TinkerPop (and the ordering is significant).
         try {
             m.put(Class.forName("scala.reflect.ClassTag$$anon$1"), new 
JavaSerializer());
-            m.put(Class.forName("scala.reflect.ManifestFactory$$anon$1"), new 
JavaSerializer());
             
m.put(Class.forName("org.apache.spark.internal.io.FileCommitProtocol$TaskCommitMessage"),
 new JavaSerializer());
             
m.put(Class.forName("org.apache.spark.internal.io.FileCommitProtocol$EmptyTaskCommitMessage$"),
 new JavaSerializer());
 
diff --git 
a/spark-gremlin/src/main/java/org/apache/tinkerpop/gremlin/spark/structure/io/gryo/GryoSerializer.java
 
b/spark-gremlin/src/main/java/org/apache/tinkerpop/gremlin/spark/structure/io/gryo/GryoSerializer.java
index 563c158..6fba103 100644
--- 
a/spark-gremlin/src/main/java/org/apache/tinkerpop/gremlin/spark/structure/io/gryo/GryoSerializer.java
+++ 
b/spark-gremlin/src/main/java/org/apache/tinkerpop/gremlin/spark/structure/io/gryo/GryoSerializer.java
@@ -139,7 +139,6 @@ public final class GryoSerializer extends Serializer 
implements Serializable {
                 super.register(GryoIo.class, PythonBroadcast.class, null);
                 super.register(GryoIo.class, BoxedUnit.class, null);
                 super.register(GryoIo.class, 
Class.forName("scala.reflect.ClassTag$$anon$1"), new JavaSerializer());
-                super.register(GryoIo.class, 
Class.forName("scala.reflect.ManifestFactory$$anon$1"), new JavaSerializer());
                 super.register(GryoIo.class, 
Class.forName("org.apache.spark.internal.io.FileCommitProtocol$TaskCommitMessage"),
 new JavaSerializer());
                 super.register(GryoIo.class, 
Class.forName("org.apache.spark.internal.io.FileCommitProtocol$EmptyTaskCommitMessage$"),
 new JavaSerializer());
                 super.register(GryoIo.class, 
Class.forName("scala.collection.immutable.Map$EmptyMap$"), new 
JavaSerializer());

Reply via email to