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

When are gremlin sessions better?

I understand that sessionless operations are the preferred method of using gremlin. I'm wondering when is the sessioned approach better? So I might be doing something like...…
Josh
  • 15
  • 1
  • 4
0
votes
1 answer

Creating edge using vertex ids

I am trying to bulk load data into janusgraph. I am trying to follow bulk load recommendations I am strugling with point (d) which is "Add all the edges using the map to look-up JanusGraph’s vertex id and retrieving the vertices using that id" My…
banjara
  • 3,800
  • 3
  • 38
  • 61
0
votes
1 answer

JanusGraph with SparkComputer throws an exception: GetNewApplicationRequestProto cannot be cast to com.google.protobuf.Message

when i use JanusGraph2.0 and spark on yarn to computer e.g.: gremlin> graph = GraphFactory.open('conf/hadoop-graph/hadoop-load.properties') ==>hadoopgraph[gryoinputformat->nulloutputformat] gremlin> blvp =…
tangzy
  • 13
  • 3
0
votes
1 answer

JanusGraph vertex.edges() returns a RelationConstructor rather an Iterator

I'm trying basic JanusGraph operations on JVM. When I attempt to simply create an edge between two vertices and calling vertex1.edges() I'm getting a result of org.janusgraph.graphdb.transaction.RelationConstructor rather Iterator, which is…
Tharaka
  • 2,883
  • 1
  • 21
  • 13
0
votes
1 answer

Gremlin query to find k distance vertices

I was trying to run a gremlin query to find k distance vertices from a given vertex v and omit directly connected vertices to v. I am using Gremlin 3.2.6. So, something like this, for a k-distance(friend of friend) isn't working…
J.Doe
  • 183
  • 1
  • 13
0
votes
1 answer

JanusGraph/Gremlin - Performance issue with repeat step applied to large data sets

I'm experiencing issues querying a large graph involving repeat steps that aim at making "hops" across vertices and edges. My intention is to infer indirect relationships between objects. Consider the…
Olivier D.
  • 164
  • 1
  • 11
0
votes
1 answer

How to change version of Goblin OGM Serializer for Janusgraph (TinkerPop 3.2.6) #101

I am trying out a Python application to connect to a Janusgraph 0.2.0. I followed all the setup instructions and I am able to create elements in the graph and traverse them successfully. import asyncio from goblin import Goblin from quart import…
Cracoras
  • 347
  • 3
  • 16
0
votes
0 answers

Error while connecting to JanusGraph

I have the following code: trait InMemoryConnectScala { def messageSerializer(): MessageSerializer = { import java.util.Collections import org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0 import…
allthenutsandbolts
  • 1,513
  • 1
  • 13
  • 34
0
votes
0 answers

Error while building sbt project

I have a spark project using Janusgraph that I am trying to making a fat jar of. The projects runs well in IntelliJ but when I try to make a fat jar and build it and run it with spark-submit, it throws this…
J.Doe
  • 183
  • 1
  • 13
0
votes
1 answer

Searching Multiproperties on JanusGraph

I have a question on properties whose cardinality is Multiple. When I use a property which has a Cardinality list or Set, Can I search on it using the BerkleyDB ? Or does it need to be indexed ? Also Can I do a NotIn and or IN Operation on it ? For…
allthenutsandbolts
  • 1,513
  • 1
  • 13
  • 34
0
votes
1 answer

How to connect to a JanusGraph with dynamodb backend using Java Client Code?

I am trying to build a Java application which uses JanusGraph(with dynamodb backend) which is hosted on a remote machine and has gremlin server started. I want to know what my options are when writing a client for this setup!! 1) Any OGM like…
0
votes
1 answer

Filter nodes by source Node gremlin

So let's say I have data like so. (id:1)->(id:2)->(id:3)->(id:4)->(id:5)->(id:6)->(id:9)->(id:10) (id:5)->(id:7)->(id:8)->(id:6) To be clear, Id 5 is the same node with 2 edges. Here is a code sample: g.addV('person').property('id',1).as('1'). …
FARSOS BULSARA
  • 37
  • 2
  • 11
0
votes
1 answer

Finding out which Vertex and edges were traversed

I have the following Graph If I write a Query g.V('A').Out(), how can I get that the values of the Edges which were traversed and the vertex which were encounterned in the traveral ?
allthenutsandbolts
  • 1,513
  • 1
  • 13
  • 34
0
votes
3 answers

How Is it possible to use ferma OGM over Gremlin Server?

Could you tell me - Is it possible to use OGM FERMA framework over Gremlin Server (TinkerPop 3.2.6 with JanusGraphDB on backend)? For now I use gremlin client for sending queries to G-server in this way: GryoMapper mapper =…
palandlom
  • 529
  • 6
  • 17
0
votes
1 answer

Build sbt for spark with janusgraph and gremlin scala

I was trying to setup a IntelliJ build for spark with janusgraph using gremlin scala but I am running into errors. My build.sbt file is: version := "1.0" scalaVersion := "2.11.11" libraryDependencies += "com.michaelpollmeier" % "gremlin-scala" %…
J.Doe
  • 183
  • 1
  • 13