How can I make a real-time graph management(i.e., CRUD) with HadoopGraph? #3079
Unanswered
mrleemember
asked this question in
Q&A
Replies: 2 comments 4 replies
-
Hi @mrleemember, If you want to execute many traversals in parallel using Spark, a simple approach could be to just open the graph in each executor and execute traversals from there, just as you would do for OLTP. Hope that helps. |
Beta Was this translation helpful? Give feedback.
4 replies
-
If you want to use janusgraph-hbase for traversals from a spark executor you have to make the connection as: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, guys.
I have testing the janusgraph with hadoop on yarn(also, with hbase) for OLAP analysis.
I can only found a document to load data from a file belows,
hdfs.copyFromLocal('data/tinkerpop-modern.kryo', 'tinkerpop-modern.kryo')
But, is there no method to manage the graph real time(e.g., use g.V().addV(...))?
I used a SparkGraphComputer with hadoop graph configulation like,
gremlin.graph=org.apache.tinkerpop.gremlin.hadoop.structure.HadoopGraph
gremlin.hadoop.graphReader=org.janusgraph.hadoop.formats.hbase.HBaseInputFormat
gremlin.hadoop.graphWriter=org.apache.hadoop.mapreduce.lib.output.NullOutputFormat
Also, I have referenced the source code of HadoopGraph.java and there is no support for add vertex.
@OverRide
public Vertex addVertex(final Object... keyValues) {
throw Exceptions.vertexAdditionsNotSupported();
}
On Janusgraph with spark on yarn, please, how can I mange the graph in realtime?
I need the analysis framework for our streaming data.
Beta Was this translation helpful? Give feedback.
All reactions