Questions tagged [titan]

Titan is a highly scalable graph database optimized for storing and querying massive-scale graphs containing billions of vertices and edges distributed across a multi-machine cluster

Titan is a highly scalable graph database optimized for storing and querying massive-scale graphs containing billions of vertices and edges distributed across a multi-machine cluster.

Titan is a transactional database that can support thousands of concurrent users.


Resources :


Related tags :

951 questions
3
votes
1 answer

Get all the actors that played in a movie that all my friends liked

I am playing with TinkerPop and I am getting my head stuck around this problem : I would like to find all the actors from the movies that ALL my friends liked (in other words, find the common movies that my friends liked and get the name of all the…
Louis F.
  • 2,018
  • 19
  • 22
3
votes
1 answer

StandardTitanGraph java.lang.Throwable: Hook creation trace error

I am getting the below exception (Titan + cassandra) in my scala project running in windows DEBUG c.t.t.g.database.StandardTitanGraph - Installed shutdown hook Thread[Thread-9,5,main] java.lang.Throwable: Hook creation trace at …
PGS
  • 1,046
  • 2
  • 17
  • 38
3
votes
1 answer

Error on installing Titan DB on Windows

Following the official guide of Titan DB here, and trying to run the command: graph = TitanFactory.open('conf/titan-cassandra-es.properties') I got this error: Backend shorthand unknown: conf/titan-cassandra-es.properties Obviously, the reason is…
Roi Bueno
  • 99
  • 10
3
votes
1 answer

Index inconsistency with Titan over AWS DynamoDB

We are using Titan Distributed Graph Database in one of our services. We have a working configuration with CassandraDB as a storage backend. Now we are working on running the service with AWS DynamoDB storage backend. If we run it in local mode…
3
votes
2 answers

How to retrieve the count and range in the same gremlin query

g.V().hasLabel('Person').count() gives me number of person vertices present in my database, and g.V().hasLabel('Person').range(10,15) gives me a range of person vertices. But is there a way to combine these two into a single Gremlin query? This is…
Phani
  • 1,851
  • 2
  • 15
  • 28
3
votes
1 answer

What is the syntax to sequence statements in Gremlin?

Within the Gremlin language (a Groovy child) I'm a little confused by the behavior and uses of ;, &&. For example, in GremlinClient REPL (running Titan 1.0 here) I might desire to add a few nodes at once: gremlin> graph =…
Thomas M. DuBuisson
  • 64,245
  • 7
  • 109
  • 166
3
votes
1 answer

How to query Titan Graph Database from iOS App

If I set up a graph-database with an AWS DynamoDB backend using the Titan plug-in, how do I then actually send queries to the database and return values? From this Diagram that I found here, it looks like the TinkerPop API can be used to send these…
user3053470
  • 241
  • 4
  • 9
3
votes
1 answer

What is the correct configuration for increasing the thrift frame size in Titan-1.1.0-SNAPSHOT

I execute the count method on a cluster with a titan graph using the fulgora graph computer and get this common error: Frame size (20769719) larger than max length (15728640)! This can be corrected by specifying this in the config…
Sheldon
  • 135
  • 9
3
votes
2 answers

counting vertices on a titan graph using SparkGraphComputer throws org.apache.spark.SparkException: Job aborted due to stage failure:

When trying to use the SparkGraphComputer to count the number of vertices on a titan graph on a cluster I get an error that I have no idea how to deal with. I am using tinkerpop 3.1.1-incubating and Titan 1.1.0-SNAPSHOT in my code and on the cluster…
Sheldon
  • 135
  • 9
3
votes
1 answer

Titan index update takes too long

Even on an empty database, creating an index in Titan 1.0 takes several minutes. The time seems exact, which suggests there is an unnecessary delay. My question is this: How to I shorten or eliminate the amount of time Titan takes to reindex? …
Thomas M. DuBuisson
  • 64,245
  • 7
  • 109
  • 166
3
votes
3 answers

Gremlin: Return result count along with results

I'm trying to return a partial set of results using range()for pagination in my app. I need to also return the total number of records in the overall result as part of the response. A response should look like: { postcount: 239, posts: [ { …
Fook
  • 5,320
  • 7
  • 35
  • 57
3
votes
1 answer

Titan Gremlin Server is giving Error "not a WebSocket handshake request: missing upgrade"

I downloaded Titan Version 1.0 on EC2 server from url Titan 1.0.0 with Hadoop 1 – recommended Then I unzip and ran the titan server with following command : bin/titan.sh start Forking Cassandra... Running `nodetool statusthrift`... OK (returned…
Sumit Chourasia
  • 2,394
  • 7
  • 30
  • 57
3
votes
1 answer

Hbase connectivity with Zookeeper connect and disconnect frequently but code exit with 0

I'm using TitanDB with Storage backend Hbase manage by zookeeper and index backend : Elasticsearch My problem is hbase connect with zookeeper and disconnect immediately but code exit with 0. ==================elasticsearch.yml===== cluster.name:…
Mayur
  • 31
  • 4
3
votes
2 answers

How to remove the property in Titan DB?

g.V(apple).properties("name").drop(); This is how i try to delete the property of apple vertex, but getting an error java.lang.IllegalStateException: Cannot access element because its enclosing transaction is closed and unbound basically i'm…
Mayur Raikwar
  • 105
  • 1
  • 1
  • 9
3
votes
1 answer

Checking vertex property equivalency in Gremlin / TitanDB

If I can check the value of a property like this: g.V().hasLabel('appUser').has('myId','1234').values('isPrivate') ==>false But when I check if that value is false within an if, doesn't return what I would…
Fook
  • 5,320
  • 7
  • 35
  • 57