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

Gremin valueMap() all values inside lists

Say I do g.V().has("id", 1).valueMap().next() The result is all in lists: { "id": [1], "name" ["node1"] } How can I unfold all the inner lists so that it shows: { "id": 1, "name" "node1" }
drum
  • 5,416
  • 7
  • 57
  • 91
0
votes
1 answer

Connecting to remote gremlin-server using gremlin-python with uname and password

I am trying to connect to a remote gremlin server which requires uname/password authentication over ssl using gremlin_python. This is a snippet of the code I am using: conf = yaml.load(stream, Loader=yaml.SafeLoader) print(conf) g =…
Max Arbiter
  • 318
  • 4
  • 18
0
votes
1 answer

Gremlin: Adding Edges to Graph Over HTTP using Vertex Variables

I am trying to execute a gremlin script over https against a remote JanusGraph instance. I have filtered my problem to the part where I am trying to add an edge using vertex variables. I am trying to add two vertices, assign the results to a…
Max Arbiter
  • 318
  • 4
  • 18
0
votes
1 answer

JanusGraph OOM Exception w/ High Degree Vertex

This is a question regarding a java.lang.OutOfMemoryError: GC overhead limit exceeded issue observed while executing operations against JanusGraph. Setup I am running JanusGraph version 0.2.0 with Cassandra as the underlying storage. I am using…
havenwang
  • 153
  • 9
0
votes
1 answer

Predicate to find an edge in Java

The following returns an edge in Gremlin console: g.V(196768).outE('E_ROLE_PERMISSION').where(otherV().hasId(213032)) In java the this results in Method otherV() is undefined. I am not able to find a Java example with a similar predicate. Can…
ptc
  • 734
  • 5
  • 11
0
votes
1 answer

Where to configure GraphSONVersion.V1_0 for JanusGraph Gremlin Server?

I am using JanusGraph 0.3.1 and gremlin javascript driver from Tinkerpop. I am trying to access the graph and when I try to retrieve the valueMap() in my queries, I am getting type information. Which is not what I was looking for I am looking for…
Phani
  • 1,851
  • 2
  • 15
  • 28
0
votes
1 answer

By-step with groovy does not extract values for some node

The problem is described as following: I want to find some interested paths and get corresponding properties of vertices or edges, the groovy I used is as following: g.V().has("p_v_name",…
dulq
  • 245
  • 3
  • 11
0
votes
1 answer

janusgraph index performance

I'm confused the query performance when querying in such saturation : using index query a String type property, which build composite unique index query a Long type property, with composite unique index using graph vertex id directly So I…
0
votes
1 answer

JanusGraph Geo Index

I have this behavior the first call returns values using JanusGraph query JG.query().has("geo_shape", Geo.WITHIN, Geoshape.circle(12, 13, 100.0)).vertices().count() while the next line doesn't return results ! val c =…
Tim Flan
  • 115
  • 1
  • 7
0
votes
1 answer

traversal.asAdmin().addStep(step) for remote calls

I am trying to build complex traversals using Java client to a remote JanusGraph server. The following traversal returns the ReferenceVertex elements identified by the label "mylabel": GraphTraversal t =…
0
votes
1 answer

Using valueMap with match()

I am calling JanusGraph remote, which returns ReferenceVertex by default. In order to retrieve properties as well, I use valueMap(), which works well for simple queries. However, in my use case I need to build a join, which works well based on…
0
votes
1 answer

Low commit performance during janusgraph load records

when i trying to load amount of data from MySQL, I commit every record to the JanusGraph with cassandra backend and elasticsearch for building index, using 8 thread; At the beginning, the program would load at 280 records / second; But when it…
0
votes
1 answer

How to create graphs on the server from a java/scala client in janusgraph

I'm trying to figure out if it is possible to create graphs on the server from a java/scala client but I haven't found any examples. I'm running janusgraph 0.3.1 configured with the configurationManagementGraph with cassandra and solr. The server…
0
votes
2 answers

Cassandra Read a negative frame size (-2062548992)! error

I want to do OLAP calculation for JanusGraph through SparkGraphComputer, but I am now experiencing this error. Can anyone answer for me? My storage backend is Cassandra, 40 million points and 120 million sides. This is the configuration…
0
votes
1 answer

Vertex property gets changed from Gremlin Console but not from Python script

I have the following script to update a property on a vertex (janusgraph 0.2.0). When I run it from the Gremlin Console the value gets changed as…
Cracoras
  • 347
  • 3
  • 16