JanusGraph

J

JanusGraph

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

Join

getting ClassNotFoundException when trying to run gremlin query g.V().valueMap for custom class

I am storing the Map <String,Address> into graph as property like: Map<String, Address> location = new HashMap<>(); location.put("Address",new Address("pune","412216")); g.addV("person").property("name",name).property("locality",location).next(); ...
No description

Why is the default serializer in conf/remote.yaml GryoV3?

Im using Janusgraph 0.6.0 in a docker container. Everytime i start the container, I get the message "The org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV3d0 serialization class is deprecated." two times. So why does the conf/remote.yaml contains "serializer: { className: org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV3d0, config: { serializeResultToString: true }} " ? I would expect there should be a GraphsonSerilizer or something thats not deprecated at least. And I...

JanusGraph metrics data having value 0 for most metrics

I have a janusgrpah server with metrics enabled along with jmx.metric enabled, The issue is all the metric starting with org_janusgraph have a constant 0. I'm able to see all the metrics with name org_apache_tinkerpop but not the janusgraph ones. Can someone please suggest if I m missing or how can I enable it....

Upgrading from 0.6 to 1.0.0-20230626 caused indexes to disappear

Hi all, I tried to upgrade from 0.6 to 1.0.0-20230626 yesterday, and I ran into some issues. All of the existing indexes was gone after the upgrade. My setup is cql-es, using cassandra 3.11.6 and ES 7.16.2. If I recall correctly, the graph used to contain around 10 CompositeIndexes....

Does JanusGraph keep the connection?

When a JanusGraph server is started, does it keep connections to the Storage Backends? Or when an operation is performed, it will initiate a connection and if so, will the connection be closed or not?

JanusGraph interface using Java

I am planning to use JanusGraph in my spring boot Java web application, in my windows dev box , running JanusGraph in a docker container, and running my Java outside of , unable to successfully establish a connection with JanusGraph. Can anyone please provide details on which dependencies to be used and the API to use , and any example with sample

Should not allow creating vertex with only one of the composite index

I have created unique composite index using : .addKey(key1).addKey(key2).unique().buildCompositeIndex() I want to keep the combination of key1 and key2 unique. Please let me know if I can achieve that with the above statement. Also i found that janusgraph is allowing me to create vertices using only one of the key, for example i can create vertices with key1 only, why it is allowing me to do so? shouldnt it fail since key2 is not given?...

Cassandra or ScyllaDB

What’s the best choice for storage, Cassandra or ScyllaDB , in terms of performance, scalability,availability…

Periodic Data deletion in Janusgraph

Hi folks, Wanted to know what are the best practices for deleting data older than some certain days to maintain graph size within limits. Does janusgraph provides any standard SoP or tooling for daily data deletion jobs? I know for static vertexes it provides TTL but We don't have static vertices....

org.janusgraph.diskstorage.TemporaryBackendException: Lock write retry count exceeded

hi I am getting above error while try to execute the gremlin query

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 and Enabled. 1) Install...

Decode data in Hbase storage

I have a JanusGraph cluster and use Hbase storage. When i get data in Hbase, it can't read. Who can help me decode data?...

JanusGraph over aws keyspaces and opensearch

Hello, I use janusgraph (embedded) over cassandra => scylladb and elasticsearch since 3 years, to modelise large operator network and do many analyse in parallel. I wanted to switch on aws keyspaces with opensearch to heave more scallabilty. Any advise ?...

JanusGraph on Azure HDInsights Spark Cluster

We are following the instructions here https://tinkerpop.apache.org/docs/current/reference/#hadoop-gremlin and are working on setting up the hadoop-gremlin on the spark cluster with JanusGraph 1.0.0-rc2. We are working through some of the issues with this integration where we needed to copy the two binaries in the Janus lib location /usr/hdp/4.1.14.2/hadoop/hadoop-azure-3.1.1.4.1.14.2.jar /usr/hdp/4.1.14.2/hadoop/azure-storage-7.0.1.jar ...

Reading the writes on Instance A done by Instance B

We are facing an issue with the janusgraph cluster having around 20 instances. The issue here is that if we are writing a vertex on instance A and try to read it from other instance it takes few seconds for the write to reflect on other instances. I have checked that storage.batch-loading is set to false....

JanusGraph stuck in SchemaStatus.INSTALLED status

A user reports that after discarding a composite index, creating a composite index with the same name would not work because JanusGraph is stuck in SchemaStatus.INSTALLED status. @rngcntr Do you have any idea on this? Originally posted on StackOverFlow: https://stackoverflow.com/questions/76266499/register-index-not-registering-schemastatus-installed-janusgraph-index...

Plans for the Hadoop integration

Notice https://docs.janusgraph.org/advanced-topics/hadoop/ from JanusGraph documentation about JanusGraph and Hadoop integration, would like to know where we could get more information on the project plan/status. Thanks,

Problem with setting up JanusGraph with Solr on k8s

Hi All, I am trying to connect my JanusGraph instance to Solr. Both are hosted on K8s cluster. I am using JanusGraph docker image version:1.0.0-rc2 (Looks like it is using solrJ 8.11.2) For Solr I am using following helm charts from: https://solr.apache.org/operator/resources.html The chart version is 0.7.0 and as per release notes it is deploying Solr 8.11.0 and I am deploying Solr as SolrCloud....