Questions tagged [janusgraph]
JanusGraph is a scalable graph database optimized for storing and querying graphs containing hundreds of billions of vertices and edges distributed across a multi-machine cluster. JanusGraph is a transactional database that can support thousands of concurrent users executing complex graph traversals in real time. When posting questions, please include environment details, such as the storage and indexing backends used.
janusgraph
73
questions
1
vote
1
answer
175
views
How to choose right nodes in janusgraph
I need to all blue nodes or the node that the id match between different nodes in the tree, based on the maximum levels. I have this code
GraphTraversal<Vertex, Map<String, List>> values =...
14
votes
6
answers
9k
views
How can I remotely connect to a JanusGraph server?
I want to use Java API to manipulate graph on a remote server, the server actually hosts in localhost. The code I use to connect server is:
JanusGraphFactory.Builder b = JanusGraphFactory.build();
b....
6
votes
1
answer
3k
views
JanusGraph : Please add a key named "ConfigurationManagementGraph" to the "graphs"
I get the this error in gremlin console
cegprakash@cegprakash:~/workspace/janusgraph-0.2.1-hadoop2$ ./bin/gremlin.sh
\,,,/
(o o)
-----oOOo-(3)-oOOo-----
plugin activated: ...
10
votes
1
answer
4k
views
Max frame length of 65536 has been exceeded
I have a set up where I am using the gremlin-core library to query a remote Janusgraph server. The data size is moderate for now but will increase in the future.
A few days ago, I saw the "Max frame ...
3
votes
1
answer
2k
views
How to increase performance of shortest path using Gremlin?
I'm using JanusGraph with Gremlin and this dataset cotaining 2.6k nodes and 6.6k edges (3.3k edges on both sides). I've run the query for 10 minutes without find the shortest path.
Using Gephi the ...
3
votes
1
answer
326
views
JanusGraph .net C#
Hey Can anyone help me figure out how I can connect to remote JanusGraph server hosting several graphs and query a specific graph (by graph name) using C# JanusGraph.net ?
I can connect to the server ...
3
votes
1
answer
5k
views
Gremlin server withRemote connection closed - how to reconnect automatically?
I am using withRemote to connect my java application to gremlin server running in AWS with dynamodb storage backend. I am getting connection timeout after few seconds (~3.3 seconds):
org.apache....
3
votes
1
answer
2k
views
IllegalStateException : Gremlin Server must be configured to use the JanusGraphManager
Set<String> graphNames = JanusGraphFactory.getGraphNames();
for(String name:graphNames) {
System.out.println(name);
}
The above snippet produces the following exception
java.lang....
2
votes
1
answer
1k
views
Gremlin.Net System.InvalidOperationException: 'Deserializer for "janusgraph:RelationIdentifier" not found' exception
I am new in janusgraph and tinkerpop. I am using Gremlin.Net 3.2.7 to connect to janusgraph and all the request that return vertexes work fine for me but when I run any operation that return edges ...
2
votes
1
answer
367
views
JanusGraph Gremlin graph traversal with `as` and `select` provides unexpected result
I have two graph traversals with the following results:
g.V().has("id", 2).outE("knows").inV()
==>v[4216]
==>v[8312]
g.V().has("id", 5).outE("knows").inV(...
2
votes
1
answer
262
views
How to apply a static has step on all the visited nodes/edges for a given traversal gremlin query
We are stamping user permission as a property (of SET cardinality) on each nodes and edges. Wondering what is best way to apply the has step on all the visited nodes/edges for a given traversal ...
1
vote
1
answer
84
views
JanusGraph-PropertyKey Is Not A User-Defined-Key
Problem
Why is JanusGraph throwing-up a User-Defined-Key problem when I'm just trying to make an index?
Logs
2023-05-08 12:40:25,640 [INFO] [c.d.o.d.i.c.ContactPoints.main] :: Contact point ...
0
votes
1
answer
195
views
How to find common vertex count and sort the result in Gremlin?
My schema has 2 types of nodes ,
node1: Student (id is primary key)
node2: Skill(SkillName is primary key)
relation between them is HAS_SKILL
My use case:
For a given student Id , I need to get the ...
0
votes
2
answers
388
views
Janusgraph using Gremlin query in .net core 3.0
We currently use gremlin.net library in a net core 3.0 application to connect to Janusgraph db.
We need to execute below query in janusgraph
g.V('12345').outE('myedge').has('datetime',lt(1581922847))....
0
votes
1
answer
70
views
Why Does Limit-OF-1 Not Record-Drop 1 Vertex?
In JanusGraph-Java, how can you limit dropping vertex records?
Here's what the logs show:
drop().iterate() does work for a small number
limit(1).drop() does nothing
drop().limit(1) does nothing
drop()...