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.

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.


Resources:


Related tags:

857 questions
6
votes
2 answers

Should I use JanusGraph as main database to store all my data for a new project?

I'm thinking about learn JanusGraph to use in my new big project but i can't understand some things. Janus can be used like any database and supports "insert", "update", "delete" operations so JanusGraph will write data into Cassandra or other…
Augusto Will
  • 562
  • 7
  • 20
5
votes
1 answer

Anonymous traversal vs normal traversal gremlin

I have read the documentation about anonymous traversals. I understand they can be started with __ and they can be used inside step modulators. Although I dont understand it conceptually. Why cannot we use a normal traversal spawned from graph…
CHID
  • 1,625
  • 4
  • 24
  • 43
5
votes
3 answers

Gremlin: The provided traverser does not map to a value

g.V() .has('atom', '_value', 'red').fold() .coalesce(unfold(), addV('atom').property('_value', 'red')).as('atom') .out('view').has('view', '_name', 'color').fold() .coalesce(unfold(),…
Yamiteru XYZ
  • 151
  • 9
5
votes
2 answers

How Spark can speed up bulk loading to JanusGraph?

I need to load lots of vertices and edges to JanusGraph with Cassandra backend from other storage. I've read about bulk loading and Spark configuring (https://docs.janusgraph.org/advanced-topics/bulk-loading/ and…
Natalia V
  • 75
  • 4
5
votes
2 answers

TinkerPop get the count and continue the same traversal

I'm currently using TinkerPop java APIs for graph traversal. Currently I had to create a duplicate copy of the same traversal to compute the count. Long allUsersCount = gt.V().hasLabel("user").has("name", "John").count().next(); List users =…
Vivek
  • 11,938
  • 19
  • 92
  • 127
5
votes
1 answer

Migrate Elastic search data from 5.6.4 to 6.6.0

I am running Janusgraph(0.3.1) with Cassandra(3.11.1) and Elastic search(5.6.4) using Docker. But, now I migrated to the latest versions i.e (janusgraph: latest, Cassandra: 3, elastic search: 6.6.0) and also I am running multiple graphs. This worked…
5
votes
1 answer

How to get JanusGraphManagement from Java

I can't understand how to get a JanusGraphManagement instance from a graph created with the ConfiguredGraphFactory. I tried doing something like this: JanusGraphFactory.Builder config = JanusGraphFactory.build(); …
Pistacchio
  • 445
  • 4
  • 15
5
votes
1 answer

Gremlin Python in Web Application

I have a python flask web app, which is querying a Janus graph DB using gremlin_python. One basic question is the correct way to initialize the graph traversal object. Can I initialize my traversal g =…
Max Arbiter
  • 318
  • 4
  • 18
5
votes
1 answer

Error when binding two instances Janusgraph on same graph

So I'm trying to deploy 2 instances of Janusgraph (v 0.3.1) to insert data in the same keyspace of ScyllaDb backend. To do that i deploy 2 janusgraph containers with docker. The first one is starting without errors and creates the keyspace in my…
Amojow
  • 141
  • 9
5
votes
1 answer

Gremlin: The traversal source [g] for alias [g] is not configured on the server

I'm using a Docker instance for my janusGraph database and being very specific; I use the following Docker image: https://github.com/sunsided/janusgraph-docker The image works OK, except as soon as I get rid of row number 12 in this groovy file:…
Erik van de Ven
  • 4,747
  • 6
  • 38
  • 80
5
votes
2 answers

Gremlin Python returning empty graph

I've started playing around with gremlin-python wrapper to interact with my gremlin server. I did the following steps: ./bin/gremlin.sh Once the Gremlin console opens up, I loaded configurations using: graph =…
Debasish Kanhar
  • 1,123
  • 2
  • 15
  • 27
5
votes
3 answers

How to remove JanusGraph index?

Index status is installed. How to change the status to registered, then disabled, to remove it? GraphTraversalSource g = janusGraph.traversal(); JanusGraphManagement janusGraphManagement = janusGraph.openManagement(); JanusGraphIndex phoneIndex =…
lazyfighter
  • 51
  • 1
  • 3
4
votes
1 answer

Serializer for type org.janusgraph.graphdb.relations.RelationIdentifier not found

Following error shows up in JanusGraph v0.5.3 server logs while retrieving edges from java client 12277786 [gremlin-server-exec-7] WARN org.apache.tinkerpop.gremlin.server.op.AbstractEvalOpProcessor - The result…
rpg
  • 45
  • 6
4
votes
1 answer

JanusGraph - How is the data is stored in ElasticSearch and Cassandra?

I'm using JanusGraph with ElasticSearch and Cassandra. My question is how JanusGraph stores the data when I create a new entity in case that I'm using two databases (JanusGraph and ElasticSearch) I could understand that ElasticSearch is used as…
4
votes
2 answers

Janusgraph capabilities and future

The project I am working on currently uses Neo4j community. Currently we process 1-5M vertices with 5-20M edges but we aim to handle a volume of 10-20M vertices w/ 50-100M edges. We are discussing the idea of switching to a graph database open…
MaelC_fr
  • 41
  • 1
1 2
3
57 58