Questions tagged [gremlin-server]

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

516 questions
5
votes
1 answer

403 Forbidden error for Gremlin to AWS Neptune

Thanks a lot for your help in advance I'm trying to setup my AWS Neptune environment by following the instruction at https://docs.aws.amazon.com/neptune/latest/userguide/get-started.html . The setup seems to be fine, and I could check the status by…
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: 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
1 answer

Gremlin-server create a graph by loading data from csv files from gremlin-python

I found a guide for creating a graph using csv data files using groovy. (https://github.com/vsantosu/gremlin-importer/wiki/CSV-import-guide) Say I want to create this marvel superheroes graph (or any graph for the matter) on gremlin-server using…
Tushar Aggarwal
  • 827
  • 1
  • 10
  • 26
5
votes
1 answer

How to use a UUID as id in Gremlin?

I'm adding verticles like this: g.addV("foobar").property("id", 1).property(...etc... How can I set a property with a uuid instead of an integer id?
Bob van Luijt
  • 7,153
  • 12
  • 58
  • 101
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
1 answer

Normal JSON to GraphSON format

I have two questions: Where I can actually find the basic format for a GraphSON file, that is guaranteed to be successfully loaded by the gremlin console? I'm trying to convert a JSON (with about 10-20 fields) to another file that can be queried by…
Adrian Pop
  • 1,879
  • 5
  • 28
  • 40
4
votes
0 answers

how to retrieve meta properties defined for a vertex property in java code?

I am using Janus graph DB, and we have return custom vertex program to retrieve data from Janus graph , and we are using spark germling libs, I have created one vertex and define properties and for one property defined meta property, during code…
Bravo
  • 8,589
  • 14
  • 48
  • 85
4
votes
1 answer

Change the default serilization in gremlin server to use GraphSON V1

I'm trying to change the output format of the Gremlin http server to a Non typed JSON object like the one below. { "requestId": "320599c8-7d49-4cc6-87a6-42115009f90c", "status": { "message": "", "code": 200, "attributes": {} }, …
alexgids
  • 396
  • 3
  • 11
4
votes
1 answer

JanusGraphException: Could not execute operation due to backend exception

I'm going crazy because of this exception when starting up JanusGraph. It happened between restarts of the gremlin-server, without even touching the configuration files. This error always appears at the very first startup of gremlin-server. This is…
Pistacchio
  • 445
  • 4
  • 15
4
votes
1 answer

Gremlin - TypeError: Object of type GraphTraversal is not JSON serializable

This below piece of gremlin code runs perfectly well in the gremlin console (it finds the unique start and end points of an k-step ego network, along with the minimum distance to that endpoint): g.V(42062000).as("from") …
Ian
  • 3,605
  • 4
  • 31
  • 66
4
votes
1 answer

How do I list running gremlin queries? How can I cancel slow or long running queries?

Most databases provide a mechanism for users to list running queries and cancel them if required. This is particularly useful is terminating queries that take a lot of time. For example, in MySQL you woul do something like this: mysql>show…
The-Big-K
  • 2,672
  • 16
  • 35
4
votes
1 answer

TinkerPop problem with multiple filters using and/or

I was filtering multiple properties and fetching a node, so if had multiple filter joined with and and or. 2 work fine but from the 3rd it seems to crash. Below is a simplified demonstration of the error. With filter gremlin>…
Srinath Ganesh
  • 2,496
  • 2
  • 30
  • 60
4
votes
0 answers

Deserialize cosmo-db response using Gremlin.Net

I am using Gremlin.net to fetch data from cosmo-db. Now the issue is I can't figure out the best approach to parse the response in my Model. Here is the code to get data: var query= "g.V('" + id+ "')"; var profileData = await…
Ask
  • 3,076
  • 6
  • 30
  • 63
1
2
3
34 35