Questions tagged [gremlin-server]

Gremlin Server is a component of Apache TinkerPop that allows for the remote execution of Gremlin-based traversals.

516 questions
4
votes
1 answer

What is the capacity of TinkerGraph in gremlin server?

I have run a session of gremlin server for a tinker graph.…
Bằng
  • 557
  • 6
  • 24
4
votes
0 answers

Find minimum and maximum length of the edges of connected graph DB in gremlin

I wanted minimum and maximum length of the two different connected node types nodes. I got two different queries but both are slow, I want it to be fast. 1st :> This giving me correct ans. g.withSack(0).V().hasLabel("People").as("from","to"). …
Ravindra Gupta
  • 1,256
  • 12
  • 42
4
votes
1 answer

Tinkerpop common version for multiple databases

Summary I am devloping a app that is intendent to work across multiple graph databases suppoted by tinkerpop Details Based on my research the same version of tinkerpop library (gremlin-python) does not work with the latest version of all the graph…
Akshay
  • 359
  • 1
  • 3
  • 14
4
votes
2 answers

How to connect to a Gremlin Websocket in Go?

I'm trying to connect to Gremlin which should be running on port 8182 ([INFO] GremlinServer$1 - Channel started at port 8182) When I'm connecting to: ws://127.0.0.1:8182 I'm getting the response: 2017/11/03 17:20:04 ERROR: database with the name…
Bob van Luijt
  • 7,153
  • 12
  • 58
  • 101
4
votes
2 answers

Store Gremlin graph in local DynamoDB

Instead of using AWS, I am using its local available DynamoDB database and creating a graph in the Gremlin console. My PC is using Gremlin-version=3.0.1.incubating and Titan-version=1.0.0 My question: How to save a graph in my local DynamoDB so that…
Mustaffa
  • 71
  • 9
4
votes
1 answer

Gremlin-Server Add Vertex with Multiple Properties (Titan 1.0.0)

I'm creating a Titan graph (backed by Dynamodb); I'm using Titan 1.0.0 and running Gremlin-Server 3 (on TinkerPop3). I'm trying to add a vertex to my graph with a label and multiple properties in a single line. I'm able to add a vertex with a label…
3
votes
1 answer

Storing graph data with TinkerPop Gremlin run in Docker

I'm trying to use Gremlin server to work with graph based database and docker-compose. The problem is that when I shutdown or restart the container, no static file is saved and the graph is empty with the following start. What am I doing wrong?…
3
votes
1 answer

OperationTimedOutException in gremlin and janusgraph while connecting it with scylla running in docker-container

I tried to implement scylla with janusgraph, but received operation timeout exception. I also tried to implement cassandra with janusgraph and run successfully. I am running scylladb in docker-container and I was running cassandra on my local…
Sumit Kumar
  • 678
  • 4
  • 19
3
votes
1 answer

gremlin how to set scriptevaluationtimeout 0

I want to set scriptevaluationtimeout 0. I'm using apache-tinkerpop-gremlin-console-3.4.9. and I want to use gremlin-python.
3
votes
2 answers

Gremlin: ConcurrentModificationException and multithreading

My application is not live yet, so I'm testing the performance of my Gremlin queries before it gets into production. To test I'm using a query that adds edges from one vertex to 300 other vertices. It does more things but that's the simple…
fermmm
  • 1,078
  • 1
  • 9
  • 17
3
votes
1 answer

Gremlin Python - "Server disconnected - please try to reconnect" error

I have a Flask web app in which I want to keep a persistent connection to an AWS Neptune graph database. This connection is established as follows: from gremlin_python.process.anonymous_traversal import traversal from…
3
votes
2 answers

Upgrade janusgraph from 0.2.2 to 0.5.2

I'm new to Janusgraph. I need to upgrade the Janausgraph version from 0.2.2(storage: cassandra, index: es) to the latest stable version (0.5.2). I've gone through the docs/forums how to initiate the process (I've seen only the changelog). I wasn't…
chikku
  • 863
  • 1
  • 7
  • 19
3
votes
1 answer

JanusGraph .net C#

Hey Can anyone help me figure out how I can connect to remote JanusGraph server hosting several graphs and query a specific graph (by graph name) using C# JanusGraph.net ? I can connect to the server but I can't query a specific graph. var c =…
3
votes
1 answer

How to add g:Vertex GraphSON in Python Gremlin?

I put the example vertex GraphSON of a g:Vertex in a file: $ cat vertex.json { "@type" : "g:Vertex", "@value" : { "id" : { "@type" : "g:Int32", "@value" : 1 }, "label" : "person", "properties" : { "name" : [ { "@type" : "g:VertexProperty", "@value"…
user1717828
  • 7,122
  • 8
  • 34
  • 59
3
votes
1 answer

JanusGraph Error : "Could not find type for id" during a concurrent load operation

While performing a concurrent bulk load operation, I received this error. Subsequently, all my queries failed, and I kept getting the same error . The exception I got is as follows: java.lang.NullPointerException: Could not find type for id: 52237…
Venky
  • 396
  • 4
  • 18
1 2
3
34 35