JanusGraph

J

JanusGraph

JanusGraph - Distributed, open source, massively scalable graph database.

Join Server

Community questions

Ffaraz03339/19/2023

Direct Search using Lucene

How to use query string so that it will directly search on lucene.
I am trying this code but it is throwing me an error.
Ssessaid9/18/2023

Sending multiple lines in the console to a remote server

Is there a way to send multiple line in the console to a remote server? I thought a backslash at the end of a line would work (it does work locally) but I get an exception. I'm trying this with the 3.7.0 console and the latest JG build for the server.
Sskyrocks.9/14/2023

Graph object not available to create custom long id in remote server setup

I'm excited about the enhanced custom vertex id feature. When reading https://docs.janusgraph.org/master/advanced-topics/custom-vertex-id/, I found that the "graph" object is needed to invoke "graph.getIDManager().toVertexID(123L)". In a typical remote server deployment, we only depend on "janusgraph/gremlin_driver" and don't have access to the "graph" object. Looking at the "toVertexID()" and "fromVertexID()" functions they don't seem to make DB calls. Was there a reason this could not be extra...
HHailDevil9/12/2023

Different vertex Ids with exactly same properties

I am using Janusgraph 1.0.0-rc2 with Cassandra as a backend.

I recently encountered an issue where I saw two different vertices with different vertex ID but have exactly same properties,

Even when I have indexed the property as UNIQUE.

Is this a known issue of rc2 version?
Sslygren9/10/2023

Preservation of order for LIST property

Hi, Does janusgraph guarantee a preservation of order for a LIST cardinality property on query (i.e., FIFO)?
Ddezmaeth9/5/2023

index convergence to REGISTERED failed

i'm trying to register an index called "id", it fails to register, when running

mgmt.awaitGraphIndexStatus(graph, 'byId').status(SchemaStatus.REGISTERED).call()

i get the logs of the process running and then

88775326 [main] INFO org.janusgraph.graphdb.database.management.GraphIndexStatusWatcher - Timed out (PT1M) while waiting for index byId to converge on status(es) [REGISTERED]
==>GraphIndexStatusReport[success=false, indexName='byId', targetStatus=[REGISTERED], notConverged={id=INSTALL...
J4j4y8/29/2023

Does the quintillion edges limitation stil exists after introducing custom vertex id support?

We have exhausted almost 25% of our ids after 6 months of using JG (edges are still below 100 billion), Was curious if this change related to custom-vertex-id remove the limitation on custom id? also does this mean this limitation as mentioned in the title will also get removed?

Would also like to know when are we planning to release 1.0.0 stable release?
https://docs.janusgraph.org/master/advanced-topics/custom-vertex-id/
DDeepak8/22/2023

Could not acquire new ID block from storage

Hello!!

Hope you are having a good day!!

What I am doing ?
I am using Janus graph to store my graph in a Cassandra keyspace. My keyspace would have multiple graphs, so I am creating different tables for different graphs. for eg: If I have two separate graph, then I would have two different table for edgestore, lets say one table would be graph1_edgestore and the other table would be graph2_edgestore. I am using custom storage backend to write to such tables.

Currently at one point of time, I...
HHailDevil8/19/2023

StaleIndexRecordUtil.forceRemoveVertexFromGraphIndex not working

The job is getting successful, but I can still see the vertices in the graph.
It is weird that even If I pass a non existent vertex ID, the job does not fail.
any idea why such behavior? or am I missing something?
HHailDevil8/18/2023

Check status of StandardScannerExecutor job

How can I check the status of the below job?
Ppaull8/14/2023

Problem with mixed index query : All property & hasId

Hello, i have a problem during a query using mixed index in order to call ElasticSearch "all" property.
Everything works fine when i only use "has(label, key, value)" alone: index is called, but when i used "has(label, key, value).hasId(within(ids))" GraphCentricQuery is correctly built but it doesn't retrieve my vertex. Any idea why this doesn't work ?
(I use or step in order to use JanusGraphStepStrategy to fold has container)

thanks you for your help
Sshivam.choudhary8/14/2023

Impact of ID Pool Initialisation on Query Performance

Greetings everyone,

We're currently operating a JanusGraph setup with cluster.max-partitions set at 1024 and ids.num-partition at 10. Our primary goal is to ensure high availability for the cluster instances. However, we've noticed that the initialization of the ID pool is causing disruptions, during server restarts. The root cause seems to be the initialisation of ID pool threads for each partition until every partition has a ID pool.

Upon server restart, the ID pool is initialised based...
Rrydbirkjr8/8/2023

JanusGraph fails on initial startup (cql-es)

Hi all,

I have a problem that's been popping up once in a while regarding only the initial startup of Cassandra/ES/JanusGraph.

Sometimes it fails with "table edgestore doesn't exist", or "table janusgraph_ids doesn't exist". However, if I restart the JG pod, it completes. To me, it sounds like some sort of race condition.

There's a thread for JG 0.6.0 with the same error:
https://lists.lfaidata.foundation/g/janusgraph-users/topic/unconfigured_table_exceptions/85741983?p=,,,20,0,0,0::recentpo...
Sslygren8/3/2023

Exhaust all paths between two or more vertices

Is there some way to go on a path finding mission with repeat().until() type construct that avoids the early stop observed while the until condition is first met? That is, without skipping .until() for .times().
J4j4y8/3/2023

Standard way of restructuring of existing data

Hi folks we have usecase where we would like to restructure data present in a graph, for example we have existing graph with structure like this: <Node: User A> --<Edge--Pays>--<Node: Payment 1>--<Edge--Receives>--<Node: User B>, and using this existing data, we would like to add an direct edge from User A to User B for faster queries. Is there a standard way to achieve this?
Sslygren8/2/2023

Find all paths between two vertices

Not sure this makes any sense, but here goes. Could someone please provide a solution to how one would avoid dead-end paths to be traversed, i.e., how can one avoid multistep traversals following .bothE().otherV() to return to self?

Here's my non-working query

`g.V().has('lbl', 'DexpiElement').has('tagname', 'tagA') \
.emit() \
.repeat( \
bothE().has('lbl', within('HAS_CHILD', 'HAS_CONNECTION', 'HAS_NODE', 'CONNECTED_TO', 'MAIN_CONNECTED_FROM', 'MAIN_CONNECTED_TO', 'HAS_GRAPHI...
Ddezmaeth7/31/2023

Is there a way to access the management from gremlin remote console?

mostly i need to be able to create vertex and edge labels dynamically from gremlin, is it posible?
Ddezmaeth7/31/2023

What configuration i can use for the root.schema.default?

i know it's supposed to use "None" so it will require a schema, but in my use case i need a schema maker, i cant find a single example with the schema maker turned on.
Sshivam.choudhary7/30/2023

JanusGraph Instance startup failure due to id block allocation

Hi Everyone, I'm trying to startup janusgraph instance after setting up the properties for authentication db but the server is terminating with an error Could not acquire new ID block from storage. Please see the full stack trace in the image attached, not sure why this is happening I'm trying to spawn up a single instance (There are few other instances which are already running)
J4j4y7/28/2023

Storing large temporal data in janusgraph

Hi folks, we have a requirement to store around 100M events per day for last 1 year, mainly temporal data. What are the best practices we can follow to avoid supernodes, minimum impact on query performance.