Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [tinkerpop]

Apache TinkerPop™ is a graph computing framework for both graph databases (OLTP) and graph analytic systems (OLAP).

182 questions with no upvoted or accepted answers
7 votes
1 answer
903 views

What are the Pros and Cons when using remote janusgraph connection over embedded?

I am using embedded janusgraph in my java backend my code depends on janusgraph instanciated from graph = JanusGraphFactory.open(conf) AFAIK this connects to Cassandra and elastic search directly ...
Ali Aboud's user avatar
  • 329
6 votes
0 answers
1k views

JanusGraphException: Could not commit transaction due to exception during persistence Caused by: PermanentLockingException: Local lock contention

I have a high level code like this. MethodXyz() { updateVertex(A, props1) commit // some other code updateVertex(A, props2) commit // do something else - long running } This method is called from ...
palwe-prafulla's user avatar
6 votes
2 answers
756 views

How to handle vertices with a large number of edges?

In our graph, there are a lot of vertices which have more than 100k of outgoing edges. I would like to know what are the approaches to handle all palettes of situation which come out of this. Let's ...
Michał's user avatar
  • 626
4 votes
1 answer
750 views

CosmosDB: Gremlin Query to create a new property using existing property

Each vertex has a structure: { Id: 123, field1: 10 } I want to add field2 to all the vertices such that field2 has its value equal to field1. The challenge is that almost all the queries I ...
dragos's user avatar
  • 303
4 votes
0 answers
1k views

Janus Graph Export and Import using GraphJson

I am using the Gremlin I/O library ( GraphSONMapper + GraphSONWriter ) to export already existing Janus graph to a GraphJson. The json file content after export is (export.json) { "id": { "@...
roma_user's user avatar
4 votes
0 answers
772 views

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 ...
Bravo's user avatar
  • 8,979
4 votes
1 answer
793 views

Gremlin Python: Count vertices and its children in one query

I am trying to get the count of all vertices with a particular label and all its children in one query like so: g.V().hasLabel('folder').has('folder_name', 'root').as_('a', 'b').select('a', 'b').by(...
Raghav Jajodia's user avatar
3 votes
0 answers
245 views

Janusgraph SimplePath query is slower on 6 node vs 3 node Cassandra cluster

I am currently using Janusgraph version 0.5.2. I have a graph with about 18 million vertices and 25 million edges. I have two versions of this graph, one backed by a 3 node Cassandra cluster and ...
VarunG's user avatar
  • 91
3 votes
0 answers
580 views

How do I create vertex centric index in JanusGraph

I am trying to build vertex centric Index in Janusgraph. foo = mgmt.makePropertyKey('foo').dataType(String.class).cardinality(org.janusgraph.core.Cardinality.SINGLE).make(); foo_bar = mgmt....
Nischal Kumar's user avatar
3 votes
1 answer
699 views

Comparing properties in Gremlin

I have a simple graph, with parents and children being vertices. Parents have the relationship "isParentOf" to their children. The vertices all have one property: the "familyName". I want to use ...
lOlive's user avatar
  • 223
2 votes
1 answer
345 views

Gremlin console how to remote connect behind a proxy

I am using gremlin console to interact with an Azure Cosmos database as explained in this Microsoft quickstart tutorial. However I am behind a corporate proxy and the command :remote connect ...
Francois's user avatar
2 votes
1 answer
683 views

Turn gremlin query result with elementMap into JSON [gremlinpython 3.6.1]

Continuing discussion from here. I've a query that provides list of paths along-with elementMap(). How do I convert this data to JSON to be consumed by rest of the code. I did look here that talks ...
Anil_M's user avatar
  • 11.3k
2 votes
0 answers
316 views

Connecting to JanusGraph using ConfiguredGraphFactory

I'm trying to figure out how to connect to JanusGraph server from SpringBoot. JanusGraph was setup with Cassandra and ElasticSearch to run in docker and as each instance of JanusGraph only serves one ...
毛三王's user avatar
2 votes
0 answers
730 views

JanusGraph docker compose environment

I'm trying to setup JanusGraph using docker compose using the following lines in a docker-compose.yml file janusgraph: image: janusgraph/janusgraph:latest environment: JANUS_CONFIG_DIR: /...
Rodrigo Braga's user avatar
2 votes
1 answer
820 views

How to use Gremlin to get both node properties and edge names in one query?

I have been thrown into a pool of golang / gremlin / Neptune, and am able to get some things to work. Life is good - enough, but I am hoping there is a simple answer (which I have not been able to ...
Dave Mich's user avatar

15 30 50 per page
1
2 3 4 5
13