All Questions
26
questions
1
vote
1
answer
172
views
How to create, register and enable an index in Janusgraph?
I want to create an index to find a vertex by label and a property value.
I saw from documentation that i have to Install->Register->Enable the index, but somehow i can't get it to be Register ...
1
vote
0
answers
92
views
Reading TinkerPop library generated files using Spark
Is there a direct way of reading tinkerpop format org.apache.tinkerpop.gremlin.hadoop.structure.io.ObjectWritable files using spark.
Spark version: 3.*
3
votes
0
answers
245
views
Janusgraph SimplePath query is slower on 6 node vs 3 node Cassandra cluster
I am currently using Janusgraph version 0.5.2. I have a graph with about 18 million vertices and 25 million edges.
I have two versions of this graph, one backed by a 3 node Cassandra cluster and ...
2
votes
1
answer
2k
views
Tinkerpop Gremlin - How to aggregate variables into traversal independant collections
I'm currently reading The Practitioner's Guide to Graph Data and am trying to solve the following problem (just for learning purposes). The following is in the context of the books movie dataset, ...
6
votes
0
answers
1k
views
JanusGraphException: Could not commit transaction due to exception during persistence Caused by: PermanentLockingException: Local lock contention
I have a high level code like this.
MethodXyz() {
updateVertex(A, props1)
commit
// some other code
updateVertex(A, props2)
commit
// do something else - long running
}
This method is called from ...
1
vote
1
answer
929
views
Unable to list all vertices present in Janusgraph with ".toList()" using Gremlinpython
I have tried testing what is in a graph that I created to see whether nodes were indeed created.
The code to create a small graph for testing:
from gremlin_python import statics
from gremlin_python....
2
votes
1
answer
1k
views
Janusgraph delete vertex and commit completes but next operation still sees the vertex
I have a piece of code which deletes a vertex and commits the transaction.
The next operation still sees the vertex for some reason.
Its also strange that it only sees it sometimes may be based on ...
0
votes
1
answer
45
views
Get different label vertex for group aggregation based on date
v1=graph.addVertex(label,"l1","submit_time",Fri Apr 26 21:01:36 PDT 2019) //v[2345432]
v2=graph.addVertex(label,"l2","start_time",Fri Apr 26 22:01:36 PDT 2019) // v[409632904]
v3=graph....
0
votes
1
answer
188
views
Low commit performance during janusgraph load records
when i trying to load amount of data from MySQL,
I commit every record to the JanusGraph with cassandra backend and elasticsearch for building index, using 8 thread;
At the beginning, the program ...
6
votes
2
answers
2k
views
Cassandra/Scylla as graph database backen for JanusGraph and API exposed with GraphQl
I am looking for a Graph database using Scylla or Cassandra as the backend and then expose the web api as GraphQl.
Can you help me verify that I have got the followin stack right:
GraphQl or ...
0
votes
2
answers
412
views
Dse Graph - Get all edges between two vertexes
I am using DSE graph 5.X.
Suppose I have two Vertex, Vertex A and Vertex B.
Dse documentation says about getting vertex and edges individually.
But what I am looking for is getting all vertexes of ...
0
votes
1
answer
147
views
Is there a way I can run GremlinPipeline in DSE Graph?
I am using Dse 5.x graph.
In documentation, Datastax says that it is compatible to 'TinkerTop' API.
This below gremlin query run perfect in Orientdb(a tinkerTop based graph database)
public ...
4
votes
1
answer
1k
views
Setup and configuration of Titan for a Spark cluster and Cassandra
There are already several questions on the aurelius mailing list as well as here on stackoverflow about specific problems with configuring Titan to get it working with Spark. But what is missing in my ...
1
vote
2
answers
2k
views
Could not instantiate implementation: com.thinkaurelius.titan.diskstorage.cassandra.thrift.CassandraThriftStoreManager
I have downloaded Titan from the link
[https://github.com/thinkaurelius/titan/wiki/Downloads]
and I started Titan using titan.sh start.
Got this:
Forking Cassandra...
Running nodetool statusthrift....
0
votes
1
answer
2k
views
GraphFactory message: GraphFactory could not instantiate this Graph implementation [com.thinkaurelius.titan.core.TitanFactory]
I'm trying to make graph queries via a gremlin-shell to a Cassandra backend (locally or remotely).
I downloaded a stock Gremlin Server distribution and then installed Titan (as described here in the ...