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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

janusgraph-full-1.0.0-rc1 : logs shows muiltiple Gauges message, want to know why those are coming and how it can be avoided if unnecessary

I see multiple messages of Gauges coming in my JanusGraph logs, so want to check uses of these and how can I stop those. > 11/28/23, 5:38:11 AM =====================================================...
atul ahire's user avatar
1 vote
1 answer
52 views

Efficient way for filtering related nodes connected to a supernode

I am trying to filter connected nodes to a super node in Janus Graph where millions of vertices can be connected to a super node directly at level =1, suppose there is a parent node, it could have ...
A R K's user avatar
  • 92
2 votes
1 answer
46 views

JanusGraph Custom String Vertex Ids for existing Cassandra Keyspaces

I am trying out the Custom Vertex ID feature in JanusGraph as mentioned in the below documentation https://docs.janusgraph.org/master/advanced-topics/custom-vertex-id/ I am using Cassandra as the ...
A R K's user avatar
  • 92
0 votes
0 answers
20 views

Janusgraph not utilizing CPU

I am using Janusgraph 0.6.3 with Cassandra as the primary backend (composite index) and elastic search as the secondary backend (mixed index). I have Janus and Cassandra installed on a machine with ...
kunal's user avatar
  • 409
0 votes
1 answer
45 views

Gremlin query to traverse JanusGraph with step count until leaf vertex

I have a JanusGraph with vertices containing property key "ID" and edges labelled as "ML_EDGE", containing property key "STRENGTH". I have to start from a vertex and ...
Naveen Raj's user avatar
1 vote
1 answer
34 views

Janusgraph Gives Timeout for most of the queries

I am using Janusgraph 0.6.3 with cassandra as backend and elastic search as the index backend. I have around 30 million vertices and 40 million edges in my graph, I am using a 128 GB RAM machine, with ...
kunal's user avatar
  • 409
0 votes
0 answers
22 views

janusgraph python unpack requires a buffer of 4 bytes

I am trying to add vertex graph in Janusgraph. Connection has been established but when it starts adding the vertex I am getting error: unpack requires a buffer of 4 bytes. My janusgraph is running ...
Shivam Raj's user avatar
1 vote
1 answer
46 views

Why doesnt the gremlin query return edges using path() when logical operators are present in the query?

I am fairly new to gremlin query and janusgraph. I had a requirement to get both edges and nodes of the graph given various properties of the nodes and the relationship between them. There can be ...
Shahul Irshad's user avatar
1 vote
1 answer
31 views

JanusGraph how to override Vertex if exists

I am looking into janusgraph over cassandra. One trouble I am having do I configure primary key on janusgraph such it does an upsert rather than create duplicates. Any help on how do it would be ...
Praveen's user avatar
  • 567
1 vote
1 answer
33 views

Could not find a suitable index to answer graph query and graph scans are disabled

I am using JanusGraph with Cassandra as the back-end and Elasticsearch for indexing. When I try to send a query from my Python code to JanusGraph, it fails with timeout error and "Warning: please ...
kunal's user avatar
  • 409
0 votes
0 answers
26 views

Issue while creating Vertex Centric Index (Relation Index) on edge property

Janusgraph version => 0.6.1 Tinkerpop version =>3.5.1 Usign Janusgraph in the embedded library mode and not in server mode. I am trying to create vertex centric index(es) on existing edge ...
Hopper's user avatar
  • 23
2 votes
1 answer
34 views

Unable to change graph.set-vertex-id property

I am using JanusGraph embedded in my Java Application, now when I create the graph with the property graph.set-vertex-id=true, it says you should set it using the Management Interface. JanusGraph ...
kunal's user avatar
  • 409
2 votes
1 answer
37 views

gremlin query to n hops and traversal of all sub edges and nodes

I am trying to create a graph where i can find all relationships with given person and list of their friends. the problem statement my graph looks like this bob ->friends -> jay jay -> ...
Aaron's user avatar
  • 672
0 votes
0 answers
18 views

Query to find the current size of janusGraph?

What is the Query to find the current size of janusGraph? or is there any Tinkerpop query to find the database size?
Thirumal's user avatar
  • 8,530
0 votes
1 answer
21 views

gremlinpython writing a helper function to create vertexes if they don't exist, and create an edge between them if it doesn't exist

I'm working with gremlin and gremlinpython for the first time, and I'm hitting a wall when I try to create new vertexes and an edge between them. I've looked at some of the other resources online, but ...
eathren's user avatar
  • 83
0 votes
0 answers
29 views

How to add unique constraints to edge property in janusgraph?

How to add unique constraints to edge property in janusgraph Globally? Unique constraints are applied to only vertex?
Thirumal's user avatar
  • 8,530
1 vote
1 answer
45 views

Hashmap as Property Value in Janusgraph

I use a janusgraph docker container. I connect with it via tinkerpop remote connection in my Java application. I want to set a hashmap as property value on a specific node. That should be possible ...
Zonko's user avatar
  • 133
0 votes
1 answer
45 views

JanusGraph 1.0: Unable to delete nodes

I have JanusGraph 1.0 which has Cassandra as backend server. When trying to drop node using Gremlin console its properties gets removed but the node doesn't get dropped. Also tried dropping using ...
Aditya's user avatar
  • 11
2 votes
0 answers
46 views

No logs getting getting logged in log file for gremlin server

This query is regarding the logs that I am not able to get while the janusgraph server start up inside a docker container. Details below: I am upgrading janusgraph version - 1.0.0-rc2 from an older ...
Poppy_Vic's user avatar
1 vote
1 answer
80 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 ...
Takis's user avatar
  • 8,444
1 vote
1 answer
78 views

Problem installing hadoop-gremlin with janusgraph

We are running into some issues while launching gremlin.sh with hadoop (ref: https://tinkerpop.apache.org/docs/current/reference/#hadoop-gremlin) using janusgraph. Any tips/help appreciated! Thanks! ...
Paritosh Gote's user avatar
0 votes
0 answers
56 views

Remote Gremlin Server and Concurrent Requests for Janus Graph

I am using Embedded Gremlin Server with Janus Graph but I have noticed problem with concurrent requests Consider there are two types of gremlin queries 1- Query that scans related records at hop =1 ...
A R K's user avatar
  • 92
0 votes
0 answers
48 views

janusGraphManagement.getOrCreatePropertyKey() Causing Could not read messages for timestamp

Problem Why is an empty JanusGraph not able to read messages for timestamp? What message is JanusGraph referring for janusGraphManagement.getOrCreatePropertyKey()? How is this warning fixed and why ...
Zach's user avatar
  • 565
0 votes
1 answer
65 views

REGISTER_INDEX() Not Registering SchemaStatus.INSTALLED JanusGraph-Index

Why is JanusGraph not registering an installed-index? The first time the janusGraphManagement.buildIndex() builds and enables fine. Although, second time the janusGraphIndex will be stuck at INSTALLED ...
Zach's user avatar
  • 565
0 votes
1 answer
54 views

Cannot SchemaAction.DROP_INDEX() Of JanusGraph-Index With SchemaStatus.DISCARDED

Problem Why is JanusGraph not dropping a discarded index? I'm performance-evaluating graph-databases as of their latest releases that meet our needs. I need to drop to remake the index for JMH testing:...
Zach's user avatar
  • 565
0 votes
2 answers
77 views

Building JanusGraph Indexes On Cassandra In Java

Problem What are the next steps to complete JanusGraph indices? I've already tried following line-by-line of the JanusGraph docs; And tried using closer to source commits janusGraph instead of ...
Zach's user avatar
  • 565
1 vote
1 answer
65 views

How to get a JanusgraphGraph Instance from a remote janusgraph connection

I want to use the management API in my java based application to dynamically create Schemas and to use indices. But I cant find a solution to get the JanusGraph - Graph instance from my remote ...
Zonko's user avatar
  • 133
0 votes
0 answers
111 views

Why Is JanusGraph Or Cassandra Getting A Locking Error?

Problem How do you fix this cascading level of errors when performing sets of drop().iterate() iterations? [WARN] [o.j.d.l.c.ConsistentKeyLocker.main] :: Lock write succeeded but took too long: ...
Zach's user avatar
  • 565
0 votes
0 answers
78 views

Why Is JanusGraph Throwing So Many TemporaryLockingException?

Problem How do I release (old) JanusGraph KeyColumn locks? 2023-05-11 12:52:47,609 [INFO] [o.j.d.u.BackendOperation.main] :: Temporary exception during backend operation [CacheMutation]. Attempting ...
Zach's user avatar
  • 565
0 votes
1 answer
57 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()...
Zach's user avatar
  • 565
0 votes
1 answer
76 views

Why Is JanusGraph Finding Expired KeyColumn Claims?

Problem What is causing JanusGraph to throw-out so many of this warnings going into full-blown retries? JanusGraph seems to find supposedly dropped vertexes, which is fine if there's a delay; I just ...
Zach's user avatar
  • 565
0 votes
1 answer
72 views

Why Is JanusGraph's Iterate-Drop Not Dropping?

Why is JanusGraph saying its dropping all the Vertexes when its looking like its really not? logger.info("g.V().count().next():\t" + g.V().count().next()); g.V().drop()....
Zach's user avatar
  • 565
0 votes
2 answers
179 views

Thought I Created A JanusGraph Vertex Index But I Guess Not; What Went Wrong? [duplicate]

Why is JanusGraph not finding-and-using the index I made at time of search? Please note, I need this to work with the Java implementation specifically; not Gremlin Console. And this needs to work with ...
Zach's user avatar
  • 565
0 votes
2 answers
73 views

Is There A Better Way To Delete Vertexes In JanusGraph?

Is there a way to just drop() all of the Vertexes in JanusGraph like OrientDB? g.V().drop().iterate() takes about 2 minutes to traverse through 70005 basic vertices. JanusGraph's JanusGraph (interface)...
Zach's user avatar
  • 565
0 votes
1 answer
26 views

Do JanusGraph Cassandra Indexes Need To Be Reindexed?

Do JanusGraph indices need to be reindexed after loading in more data? I know this is a newbie question, but I am a newbie with on this subject. From my understanding right now, OrientDB and Neo4j ...
Zach's user avatar
  • 565
1 vote
1 answer
70 views

Where Are JanusGraph's Vertexes In Cassandra?

Where does Apache Cassandra put its JanusGraph Vertexes? When I look for them I can't find them. I've tried using cqlsh but I'm new to CQL (Cassandra Query Language) and Cassandra in-general. So ...
Zach's user avatar
  • 565
0 votes
1 answer
60 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 ...
Zach's user avatar
  • 565
0 votes
1 answer
80 views

How To Create Vertex Index For Remote GraphTraversalSource

Problem How do you make Vertex Indexes with traversal().withRemote("conf/remote-graph.properties")? Questions Do I have to create a org.apache.tinkerpop.gremlin.structure.Graph? Graph graph ...
Zach's user avatar
  • 565
0 votes
0 answers
65 views

Why Does Traversal Source g Stop Working?

Problem Why does their example problem stop working after a day-or-two? Deleting and recreating the JanusGraph-Docker-container fixes the problem. Nothing has been changed since this execution was ...
Zach's user avatar
  • 565
0 votes
1 answer
84 views

Where Is JanusGraph's Gremlin-Console Finding its Tinkerpop-Server's "conf/remote.yaml"?

Problem Where is JanusGraph [Docker-container] Gremlin-Console getting its conf/remote.yaml from? [o.a.t.g.d.ConnectionPool.gremlin-driver-host-scheduler-1] :: Opening connection pool on Host{...
Zach's user avatar
  • 565
0 votes
1 answer
76 views

Why Does V().count() Show 0 with gremlin.sh But Not Zero With Code?

Problem Why does bin/gremlin.sh's V().count() not show a non-zero count? I'm new to Gremlin [Query-Language] and Graph-DBs (Graph Databases) in-general. What is the difference between running in ...
Zach's user avatar
  • 565
0 votes
1 answer
85 views

Why Do Vertexes Not Drop With g.V().drop()?

Problem How do you cleanup Vertexes (and Edges) with GraphTraversalSource g? I don't understand why g.V().drop() doesn't work with traversal().withRemote() When I have this working fine with ...
Zach's user avatar
  • 565
1 vote
0 answers
27 views

JanusGraph Java Serializer for propertyMap()

Im setting up a simple Java application that runs some queries on top of a given Graph Database (either Neo4j or JanusGraph). I would like to have interface methods with return type and general form ...
quetzalCoatlus's user avatar
1 vote
1 answer
152 views

JanusGraphFactory cannot make CQLStoreManager

Problem Why am I getting this error when the dependency is being included? Could not find implementation class: org.janusgraph.diskstorage.cql.CQLStoreManager <dependency> &...
Zach's user avatar
  • 565
2 votes
1 answer
177 views

How To Setup JanusGraph Cassandra On Docker

Problem With Docker containers, how do setup Apache Cassandra to work with Docker? I need to setup an external JanusGraph to handle tens of millions of records. I'm new to Cassandra, JanusGraph, and ...
Zach's user avatar
  • 565
3 votes
1 answer
151 views

Janusgraph OLAP traversal - Connection with cassandra using trusstore config not working

We have a working setup of Janusgraph 0.5.2 version where we are able to insert and query (OLTP) the data as per need. We are exploring JanusGraph OLAP traversal for some reporting and analytical ...
blankCoder's user avatar
0 votes
1 answer
155 views

Connect to External JanusGraph Server With JanusGraphFactory

Problem How do you connect to an external JanusGraph Server with JanusGraphFactory? I don't know what I'm doing and new to JanusGraph and Graph-Databases in-general. What is the JanusGraph > ...
Zach's user avatar
  • 565
0 votes
1 answer
289 views

Connecting To JanusGraph Using Java

Problem How do you get Connecting to JanusGraph > Using Java to work? Connecting to JanusGraph Using Java = Connecting from Java = Getting Started with JanusGraph and Gremlin-Java in this question....
Zach's user avatar
  • 565
0 votes
1 answer
123 views

JanusGraph Server Failed To Start With Bash

Problem Why does janusgraph-server.sh start server fails to start? Running git BASH and JanusGraph:latest [Version 0.6.3 (February 18, 2023)]. Setup Download JanusGraph package janusgraph-x.x.x.zip ...
Zach's user avatar
  • 565
0 votes
1 answer
163 views

How To Connect To JanusGraph In Java with AnonymousTraversalSource

Problem Why am I unable-to-connect to JanusGraph-Server on localhost:8182? Using Java-17, TinkerPop3 Gremlin, and Janusgraph:latest. Reproduction Steps Download-and-Install Docker (Windows) ...
Zach's user avatar
  • 565

1
2 3 4 5
18