JanusGraph

J

JanusGraph

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

Join

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

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.

Data Storage wit TTL

Hi Everyone, We have a requirement in which we have to store around ~80 million records daily in our graph storage and we should have a TTL of 90 (~7 Billion) days for this data but the issue we are having is that we can have TTL on static vertex only and we don't want to do that as that restrict us from further updates on that vertex (correct me if I'm wrong). Please suggest some way in which we can store this data so that we can have TTL also. We are using bigtable backend, so will it be possible for us if we directly can have gc policy(90 days) on Bigtable column families?...

ERROR org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor - Could not invoke constructor

Could not invoke constructor on class org.janusgraph.graphdb.management.JanusGraphManager (defined by the 'graphManager' setting) with one argument of class Settings.

Multiple Graphs with Embedded JanusGraph

Hello!! I am using embedded Janusgraph (embedded JanusGraph as a library inside my Java Application). I am trying to figure out if I can write two different named graphs to the same database. I am trying to use https://docs.janusgraph.org/operations/configured-graph-factory/ to create multiple graphs. I set the name of the graph in graph.graphname in my JanusGraph configuration. But I get the following error while opening the graph...

Drop an Graph From the Database

Hello!! I want to delete the graph stored in my database so that I can recreate the new graph. I am running the following command to delete the graph...

Concurrency challenges and the solution

Are there any known concurrency challenges with Janusgraph gremlin queries and what's the solution. I am planning to use either cassndra or ScyllaDB as storage backend.

Caused by: java.lang.SecurityException: class "org.apache.commons.logging.impl.NoOpLog"'

Gettting below exception when i try deploing janusgraph in tomcat Caused by: java.lang.SecurityException: class "org.apache.commons.logging.impl.NoOpLog"'s signer information does not match signer information of other classes in the same package...

Changing the max number of parameters for parameterized queries

Hi, we are using parameterized queries for graph ingestion and we reached the limit of parameters in a query (default is 16) hence our ingestion is failing. We want to update those settings following this guide https://tinkerpop.apache.org/docs/3.2.5/upgrade/#_default_maximum_parameters. Doing this in the gremlin-server yml is straightforward but we would like to do it via environment variables. Any suggestions? I tried some combinations and this is the closer I got: docker run --rm -it -e gremlinserver.processors[+].className[org.apache.tinkerpop.gremlin.server.op.session.SessionOpProcessor].config.maxParameters=256 docker.io/janusgraph/janusgraph:latest janusgraph show-config which generated something like: ...

Need help with injecting data into janusgraph databse using python

I am new to janusGraph and need help in injecting the following data into janus graph using python mainly but any other language can also work. I also am not sure wether to use cassandra, hbase,berkeley DB, etc. as I am unable to understand how to handle the following data : https://snap.stanford.edu/data/amazon0601.html https://snap.stanford.edu/data/amazon-meta.html...

Janusgraph with bigtable with olap+oltp

HI folks, we have recently setup janusgraph with bigtable. This is just used for oltp usecases, but given it's nature we can't run full graph queries like pagerank etc. We would like to know if we can setup OLAP janusgraph as well, which basically has the same schema as the OLTP db but runs against longer time period i.e. for OLAP usecases. Can someone guide us in achieving this? I was thinking to run both of systems together depending upon the query window. Was thinking if we can leverage ingesiton pipeline of OLTP for creating graph in OLAP....

Janusgraph limits

I need to build a massive knowledge graph where I should aggregate many kinds of pieces of information, and the logical model of the system I need to build naturally fits in a property graph. I could need to manage approximately 200B of vertices and 500B edges. I'm familiar with HBase, and I know it scales pretty well, just wondering if any of you used Janusgraph (with Solr) with similar numbers, pros? cons? hints? is it risky?

Using Spark with JansuGraph on a Cassandra storage backend

Hello there!! Hope you are having an awesome day. I am trying to use OLAP query for my janusgraph setup. I am using Cassandra for storing graph, but I am using our own defined custom storage backend class. I think that graph is created without using my storage backend. Can you please help me figure out what is wrong ?...

Support for spatial data

Is there a way to save and query geospatial data in JanusGraph ?

Case Insensitive TextRegex?

Is there a way to convey a text insensitivity to a textRegex Regex without doing a per character index enumeration of casing? E.g. I'd normally make a regex like "(?i)foobar" (or pass to an explicit flags parameter in the regex builder) to match FOOBAR, Foobar, etc. But it seems like I have to do textRegex("[Ff][Oo][Oo][Bb][Aa][Rr]") to proxy that functionality?...

Read Only Janusgraph Instance

HI folks, We have a usecase for accesing janusgraph in read only mode. We already have a read write deployment backed by bigtable. Was curious can we deploy one more deployment of janusgraph which is backed by same backend storage but only read only queries are allowed. I couldn't find a straight way to do it without adding an abstraction by having a readonlystrategy (although still need to test it)....

Transactions and atomicity

Hi all! I'm researching JanusGraph and I'm excited to learn more. There's one thing I haven't understood when using JanusGraph with a storage backend like ScyllaDB: According to the docs, the best way to avoid data inconsistencies is to use a storage backend that supports atomic batch writes. If I do that, do I remove all risk of half-edges and other permanent inconsistencies -- i.e. is eventual consistency guaranteed? And if the storage backend does support atomic batch writes, how can I tell if JanusGraph actually uses it?...

How do I enable dynamic graphs while using the latest docker image `janusgraph/janusgraph:latest`?

With the following configuration settings and using the default g alias I can work with gremlin/JanusGraph no problem: ``` environment: janusgraph.set-vertex-id: true storage.backend: cql...

io.netty.handler.codec.DecoderException While adding an Edge

Getting io.netty.handler.codec.DecoderException while adding an edge between two vertices. Vertex vx1 = g.V().has("name","Vertex1").next(); Vertex vx2 = g.V().has("name","Vertext2").next(); Edge newEdge = g.V(vx1).addE("connected").to(vx2).next()...

Can graph scans restrictions be bypassed?

When a JanusGraph database has janusgraph.query.force-index: "true"​, is there a way to submit queries that would be considered as graph scans (e.g. g.V().limit(25)) despite the setting being enabled? I know that DataStax Enterprise for instance has a with('allow-filtering') that lets users bypass that restriction....