I am trying to migrate from Titan+Cassandra+ES 0.4.4 to the 0.9M2 release of the same stack
gremlin> Gremlin.version()
==>3.0.0.M9-incubating
gremlin> graph = GraphFactory.open('conf/hadoop-graph/load-twitter-prod.properties')
gremlin.graph=org.apache.tinkerpop.gremlin.hadoop.structure.HadoopGraph
gremlin.hadoop.graphInputFormat=org.apache.tinkerpop.gremlin.hadoop.structure.io.graphson.GraphSONInputFormat
gremlin.hadoop.graphOutputFormat=org.apache.tinkerpop.gremlin.hadoop.structure.io.gryo.GryoOutputFormat
gremlin.hadoop.memoryOutputFormat=org.apache.hadoop.mapreduce.lib.output.SequenceFileOutputFormat
gremlin.hadoop.deriveMemory=false
gremlin.hadoop.jarsInDistributedCache=true
gremlin.hadoop.inputLocation=/d1/twitter_prod.gson
gremlin.hadoop.outputLocation=output
titanmr.ioformat.conf.storage.backend=cassandrathrift
titanmr.ioformat.conf.storage.hostname=10.xx.xx.xx,10.xx.xx.xx,10.xx.xx.xx
titanmr.bulkload.conf.storage.backend=cassandrathrift
titanmr.bulkload.conf.storage.hostname=10.xx.xx.xx,10.xx.xx.xx,10.xx.xx.xx
spark.master=spark://XXX.YYY.local:7077
spark.executor.memory=1g
#spark.serializer=org.apache.spark.serializer.KryoSerializer
cassandra.input.partitioner.class=org.apache.cassandra.dht.Murmur3Partitioner
gremlin> r = graph.compute(SparkGraphComputer).program(BulkLoaderVertexProgram.build().titan('conf/titan-cassandra-es.properties').create()).submit().get()
java.io.InvalidClassException: org.apache.spark.Aggregator; local class incompatible: stream classdesc serialVersionUID = -9085606473104903453, local class serialVersionUID = 5032037208639381169
I have read the Tinkerpop doc about data migration (the incompatbility etc which may be the cause of the error above) and specifically about using the LegacyGraphSONReader but can't figure out yet how to connect to the BulkLoaderVertexProgram etc
If I use the method described in the doc above to read a graph, how do I pass the rest of the properties which GraphFactory pulls in from properties file?
gremlin> r = LegacyGraphSONReader.build().create()
==>org.apache.tinkerpop.gremlin.structure.io.graphson.LegacyGraphSONReader@64337702
gremlin> r.readGraph(new FileInputStream('/tmp/tp2.json'), graph)