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
0
votes
1 answer

Janusgraph query returns dataframe to perform analysis using GraphFrame

I use JanusGraph, HBase and Python (through gremlin_python) to create and store a sample graph. Now I'd like to do some graph anaysis (eg. page rank), and wish to stick to Python. I'm wondering if it's possible to query a graph from JanusGraph in…
twfx
  • 1,664
  • 9
  • 29
  • 56
0
votes
1 answer

Modifying vertex properties while traversing

I want to modify some property for all vertices connected via edges with some label in JanusGraph using Gremlin in Java. I tried the following: public void setAllProperties(JanusGraphTransaction janusGraphTransaction) { GraphTraversal
Maciej Mościcki
  • 686
  • 1
  • 9
  • 13
0
votes
2 answers

StorageBackend version is incompatible with current JanusGraph version

Unable to start gremlin-server due to version mismatch. How can I fix this issue? Here is the full stack trace Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at…
cegprakash
  • 2,937
  • 33
  • 60
0
votes
0 answers

Load balancing approached with gremlin driver

Few days ago, Google publish this article: https://cloud.google.com/blog/big-data/2018/07/developing-a-janusgraph-backed-service-on-google-cloud-platform We can read from there, that it is common to deploy janus graph as a separate instance behind…
Michał
  • 616
  • 1
  • 7
  • 22
0
votes
1 answer

How does JanusGraph.open() work and how to scale?

I am evaluating different Graph databases and libraries etc.. and JanusGraph seems to be providing most of what I need. I do have a couple of questions: I would like to connect to it via Gremlin Server with Cluster option, however I don't seem to…
Tin Ng
  • 937
  • 2
  • 11
  • 25
0
votes
1 answer

Find every paths in any direction with specified labels and hops

I have the following graph: Vertices and edges have been added like this: def graph=ConfiguredGraphFactory.open('Baptiste');def g = graph.traversal(); graph.addVertex(label, 'Group', 'text', 'BNP Paribas'); graph.addVertex(label, 'Group', 'text',…
Baptiste Arnaud
  • 2,522
  • 3
  • 25
  • 55
0
votes
1 answer

How to create multiple edges from one vertex in single traversal

I've got function which has this signature: public void doTheJob(String from, Collection> relations) where: from is a unique value the graph should be asked about relations is a collection of pair, where first element from pair…
Michał
  • 616
  • 1
  • 7
  • 22
0
votes
1 answer

Using a case class with map and nested case class with gremlin scala

How to write new Marshallable for the below case class. case class CCWithLabelAndId( s: String, @id id: Int, l: Long, o: Option[String], seq: Seq[String], map: Map[String, String], nested: NestedClass) Taken from MarshallableSpec from…
Gowrav
  • 627
  • 7
  • 22
0
votes
2 answers

Gremlin Order Pattern And Edge Update Using Loop

I am trying to loop through an arbitrary amount of edges on a vertex and assign the current iterator/loop count to the edge. How would I go about doing that? Pseudo code g.V(12345).outE('contains').loop{through all outE contains…
Bryce
  • 45
  • 1
  • 7
0
votes
1 answer

Janugraph REINDEX stuck in INSTALLED

I loaded a graph into Janusgraph from CSV file. Once the data is loaded, I tried to index the graph using compositeIndex. Once the index is built the status is stuck in INSTALLED…
tourist
  • 4,165
  • 6
  • 25
  • 47
0
votes
1 answer

NoClassDefFound of MasterNotRunning when using janusgraph backend HBase

I am using janusgraph, with storage backend HBase. Currently I am trying to add vertices to the database. The part of the code is public class Graph { private static JanusGraph graph = JanusGraphFactory.open("conf/jg.properties"); public static…
Litchy
  • 355
  • 1
  • 4
  • 18
0
votes
0 answers

How do I connect to Janusgraph using Gremlin.NET on CloudFoundry using SSL Certs

I have deployed Gremlin.NET to Pivotal Cloudfoundry but the requests fail with "Unable to connect to the remote server". I suspect this is a cert issue. I see the Java implementation has a way to specify certs in the Cluster connection, but do not…
Bryce
  • 45
  • 1
  • 7
0
votes
1 answer

Cassandra multi-region settings/optimization

I configured two DC with replication in two regions (NCSA and EMEA) using Janusgraph (Gremlin/Cassandra/Elasticsearch). The replication work well and everything, however the performance are not that great. I get time of around 250ms just for a read…
0
votes
1 answer

It doesn't add an edges with the right in and out vertices

I'd like to add a new edge between two vertices. Here is the command I'm using def graph=ConfiguredGraphFactory.open('graph'); def g = graph.traversal(); graph.addVertex(label, 'Person', 'name', 'Jack', 'entityId', '100'); graph.addVertex(label,…
Baptiste Arnaud
  • 2,522
  • 3
  • 25
  • 55
0
votes
1 answer

Janusgraph no labels being created for vertices

I am working with Janusgraph. For batch-loading, I have defined some schema, including : m = janusGraph.openManagement() // vertex labels contentV = m.makeVertexLabel("Content").make() ... // edge labels contentE =…
Tushar Aggarwal
  • 827
  • 1
  • 10
  • 26