JanusGraph

J

JanusGraph

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

Join

Unable to access/drop a vertex after dropping a property key.

We followed the example mentioned here and dropped one property key in our schema, post which we are unable to access/drop any vertex. It is throwing us a Error during serialization: [no message for java.lang.NullPointerException] exception every time we run either g.V(node_id).valueMap() or g.V(node_id).drop().iterate(). We were wondering if there is any way we could recover from this error or any workarounds...

drop() slow performance

I have to drop thousands of vertex ids from the graph, and .drop().iterate() takes like 1 minute for each vertex. Seems like it is gonna take ages for my task to complete. Is there any other quicker way to achieve this? like a bulk drop operation?...

where to find gremlin-java docs

I'm looking to learn how to make gremlin queries from a Java app. I've discovered I can't use raw gremlin inside a java app and need something called Java-gremlin. What is a good resource for learning java-gremlin?...
Solution:
I’m not completely sure what do you mean by not being able to use Gremlin in Java app. Gremlin here different language variants and the Java GLV was the first one originally developed. A great way to start I think would be to read Practical Gremlin book by @KelvinL because it has a lot of great use cases and their detailed explanations: https://kelvinlawrence.net/book/Gremlin-Graph-Guide.html If you interested in Gremlin syntax and how it works, I would suggest TinkerPop documentation: https://tinkerpop.apache.org/docs/current/reference/ ...

connect JG tutorial with java(dependency issues)

I started looking into Janus Graph and wanted to see what a springboot app connecting to a Janus graph would look like. I just can't seem to get past step two of the "connecting to janusGraph using java" tutorial. I've placed my two dependencies into my maven pom.xml file and when loading my dependencies only the gremlin driver was loaded. The Janusgraph-driver dependency fails with error stating that it couldn't find the dependency. Error: " ...
Solution:
0.6.4 is not officially released yet, so you don't find it in maven

Changing the Cardinality of a Property

I have a property which was created with the default cardinality (i.e. SINGLE), but I want the cardinality of this property to be Set. What is the easiest way to make this change.

storage.cql.executor-service

Hello: storage.cql.executor-service.enabled property is removed in 1.0.0. iirc the current documentation contains the recommendation, that for production scenarios it should be disabled and let the driver handle the queries. Is there a change?

Benchmarks

We are trying to benchmark the ingestion rate of JG, we use SOLR as indexing engine, is there any number already available?

How to run the mapreduce reindexing job

Did anyone succeed in running the map-reduce reindexing job? We went into the usual dependencies nightmare. I would assume we should put together all the dependencies into an uber-jar right? Otherwise we should put in the yarn node classpath the janusgraph dependencies, no?

Performance Problems/Config review

Hello, I am reaching out as I anticipate enhanced performance from our Scylla + JanusGraph deployment and am seeking insights to optimize it. We have tested versions 0.6.3 and 1.0.0-20230918-091019.c39a12a. We currently operate a concise setup on Kubernetes, consisting of three nodes. Each node is allocated 10 CPUs exclusively for our tests and 60GB of memory. Scylla and JanusGraph are deployed on the same nodes, and a fourth node runs a benchmark program to assess our configuration’s efficacy....

Possible Bug with Text.CONTAINS_REGEX & token toLowerCase

Hello, I think their is a bug with predicate textContainsRegex, during CloseableIterator "retainIfTrue.test(element)", element are filtered if they don't satisfies conditions. I have a vertex with property "firstName->Martine", while searching with this regex "Martin.?", ES found my vertex but while filtering to check other conditions (vertex status is active), regex is evaluated again and is returning false because value is tokenized in lower case while regex is case sensitive....
No description

storage.parallel-backend-ops

Hello i am a bit confused wth the docu. Do i enable or disable storage.parallel-backend-ops? I have disabled the cql executor and configured my connections/requests but i don't know about parallel-backend-ops and also how to configure gremlin gremlinPool/threadPool accordingly?

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....
No description

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.

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...

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....

Preservation of order for LIST property

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

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 ...

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/...
No description

Could not acquire new ID block from storage

Hello!! Hope you are having a good day!! What I am doing ?...

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?...