TITAN

How many graphs can i create in one Titan DB?

ⅰ亾dé卋堺 提交于 2019-12-08 11:29:30
问题 I have a situation where each user of the system can have their own graph of million vertices and lot more edges. I want to implement it as separate graph for each user. So, if there are a billion plus users, how many graphs can i created in a clustered Titan DB with DynamoDB backend? Should i create multiple separate TitanDB instances and spread the load if a limitation exists? The reason i need this is that most activity on the graph is within what the user owns. Cross user activity can be

Making my titan db graph with cassandra and elasticsearch backend

左心房为你撑大大i 提交于 2019-12-08 08:48:48
问题 My problem is that I want to store Product, customer and seller data in titan graph database which has cassandra as storage backend and elasticsearch as indexing backend. Then I ll be querying that data to make recommendations to both customer and seller. I am not able to get to the point where I can store my own data .Since data is going to be huge I ll be using cassandra and elasticsearch . What I have done so far is that I have cassandra , elasticsearch set up. Now I can run bin/titan.sh

“Permanent Exception” connecting Titan 0.4.0 to Datastax AMI

依然范特西╮ 提交于 2019-12-08 04:26:10
问题 I'm new in the Titan realm so I'll keep this question as simple as possible. Using the instructions provided here, I am able to successfully connect 1 linux node running Titan 0.3.2 to the Datastax/Cassandra instance as a backend. I then downloaded Titan 0.4.0 and attempted the same, but receive a backend exception. For good measure, I changed the keyspace to in my .properties file to "titan4", which I then see reflected in the Cassandra backend. However, despite successfully seeing the

TitanDB Index not changing state

只谈情不闲聊 提交于 2019-12-07 16:42:40
问题 I wanted to drop an existing index and followed the steps in the documentation so far. I have no separate indexing backend configured for now. However, when I get to the step where you have to wait for the index status to change using m.awaitGraphIndexStatus it waits forever for the change and times out with the following error: GraphIndexStatusReport[success=false, indexName='usernameComposite', targetStatus=DISABLED, notConverged={username=INSTALLED}, converged={}, elapsed=PT1M0.092S] The

Why can't I connect to Gremlin-Server?

淺唱寂寞╮ 提交于 2019-12-07 16:10:35
问题 Abstract I'm trying to set up a Titan/Cassandra/Gremlin-Server stack in Docker (v1.13.0). The problem I'm facing is that applications trying to connect to Gremlin-Server on the default port 8182 are reporting errors (details below). First, here is some relevant version information: Cassandra v2.2.8 Titan v1.0.0 (Hadoop 1) Gremlin 3.2.3 Setup Setup takes place in a Dockerfile in order to be reproducible. It assumes that a Cassandra container already exists, running a cassandra.yaml in which

Cannot connect from Titan to Google Bigtable via Hbase client

三世轮回 提交于 2019-12-07 14:12:00
问题 I am trying to connect to Titan 1.0.0 with Hadoop 2 (HBase 1.0.2 client) (available in https://github.com/thinkaurelius/titan/wiki/Downloads) with Google Cloud Bigtable service, using its HBase client. I could successfully connect to Bigtable from an HBase shell in a GCE instance, by following this procedure. The hbase-site.xml is according to the template, and I have downloaded Bigtable jars for ALPN_VERSION=8.1.5.v20150921 (Oracle JDK SE 1.8.0_60) <configuration> <property> <name>hbase

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

那年仲夏 提交于 2019-12-07 10:21:55
问题 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 and a single property, and I can add multiple properties to a vertex after it has been created, but it seems that I can't do it all at once. For testing I'm running commands in the gremlin shell, but the end use case is interacting with it via REST

How can I get a list of indexed keys in Titan?

十年热恋 提交于 2019-12-07 05:23:37
问题 I am using Titan v0.3.1 and would like to see a list of which keys I have already indexed via createKeyIndex . How can I do this? 回答1: As you found for yourself you can use the Blueprints getIndexedKeys(Vertex.class) method for this, however the Titan type system has a lot more to offer than createKeyIndex . The longer you work with Titan the more you will want to learn about the Type Maker system: https://github.com/thinkaurelius/titan/wiki/Type-Definition-Overview In that case the types

How to use ElasticSearch index in Titan Gremlin query?

不打扰是莪最后的温柔 提交于 2019-12-06 10:23:32
问题 I've managed to set up Titan (v0.3.1) with Elastic Search in embedded mode, thanks to the Titan docs. However, my question is now: how do I take advantage of the ES indexing? For example, I would like to use Text.CONTAINS (which is supported, according to docs linked above). Specifically, I'd like to retrieve nodes with the string "abc" somewhere in the value for a key called my_label . What syntax would achieve this goal from the Gremlin console? 回答1: Searching against an external index The

Titan data corruption

孤街浪徒 提交于 2019-12-06 10:12:20
I get an exception when calling com.tinkerpop.blueprints.Edge.getLabel on some vertex edges : java.lang.IllegalStateException: Could not find type for id: 630 at com.google.common.base.Preconditions.checkState(Preconditions.java:200) at com.thinkaurelius.titan.graphdb.types.vertices.TitanTypeVertex.getName(TitanTypeVertex.java:30) at com.thinkaurelius.titan.graphdb.transaction.StandardTitanTx$VertexConstructor.get(StandardTitanTx.java:321) I can solve this issue by removing all vertex and start over, but we obviously don't want to do that in production. This error seems to occur when there is