Hi Anjani,
What is the version of JanusGraph you are using?
Can you share some code and configuration to reproduce the issue?
Best regards,
Evgenii Ignatev.
--
You received this message because you are subscribed to the Google Groups "JanusGraph users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/janusgraph-users/27f1da00-043c-4c07-8e69-f2dbeaddf14bn%40googlegroups.com.
-- Best regards, Evgeniy Ignatiev.
To view this discussion on the web visit https://groups.google.com/d/msgid/janusgraph-users/884d372e-0e66-4b5e-94ac-853485d153fan%40googlegroups.com.
writeMemoryRDD is using ouput format as "SequenceFileOutputFormat.class" which calls SequenceFile.class. I see vertex object has edge details till SequenceFile.class. Till here vertex object is of type ComputerVertex.
But computerResult object does not have edge details in vertex object. I see in ComputerResult vertex object type is changed to DetachedVertex
return new DefaultComputerResult(InputOutputHelper.getOutputGraph(graphComputerConfiguration, this.resultGraph, this.persist), finalMemory.asImmutable());
I think edges are getting dropped while de-serialising and converting object to DetachedVertex. But i was not able to figure out where its getting converted to DetachedVertex object.
Below configs i am using:
gremlin.graph: org.apache.tinkerpop.gremlin.hadoop.structure.HadoopGraph
gremlin.hadoop.graphReader: org.janusgraph.hadoop.formats.cql.CqlInputFormat
gremlin.hadoop.graphWriter: org.apache.tinkerpop.gremlin.hadoop.structure.io.gryo.GryoOutputFormat
gremlin.hadoop.defaultGraphComputer: org.apache.tinkerpop.gremlin.spark.process.computer.SparkGraphComputer
spark.serializer: org.apache.tinkerpop.gremlin.spark.structure.io.gryo.GryoSerializer
spark.kryo.registrator: org.janusgraph.hadoop.serialize.JanusGraphKryoRegistrator
Appreciate any suggestion/pointer to debug the issue.
Thanks & Regards,
Anjani
After that computerResult is returned : return new DefaultComputerResult(InputOutputHelper.getOutputGraph(graphComputerConfiguration, this.resultGraph, this.persist), finalMemory.asImmutable());
But computerResult object does not have edge details in vertex object. I see in ComputerResult vertex object type is changed to DetachedVertex
I think edges are getting dropped while de-serialising and converting object to DetachedVertex. But i was not able to figure out where its getting converted to DetachedVertex object.