titan.core | This repository has moved to https | Authorization library
kandi X-RAY | titan.core Summary
kandi X-RAY | titan.core Summary
This repository has moved to:
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of titan.core
titan.core Key Features
titan.core Examples and Code Snippets
Community Discussions
Trending Discussions on titan.core
QUESTION
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 takes place in a Dockerfile
in order to be reproducible. It assumes that a Cassandra container already exists, running a cassandra.yaml
in which start_rpc
has been set to true
.
The Dockerfile
is as follows:
ANSWER
Answered 2017-Sep-28 at 03:54The main problem is that the host
in your Gremlin Server configuration is set to the default which is localhost
. This will only allow connections from the server itself. You need to change the value to an external IP of the server or 0.0.0.0
.
The other issue is that gremlin-python
server plugin was made available with Apache TinkerPop 3.2.2. Titan 1.0.0 uses TinkerPop 3.0.1. I dobut that the gremlin-python 3.2.3
plugin will work with Titan 1.0.0.
Update: Consider using JanusGraph 0.1.1 which uses TinkerPop 3.2.3. JanusGraph was forked from Titan, so the code is basically the same with updated dependencies.
QUESTION
ANSWER
Answered 2017-Jul-17 at 05:14Enable Thrift server of Cassandra
Use the below command to enable thrift
QUESTION
I'm developing an application using Titan + DynamoDB Local as storage backend. Previously I used Berkeley as storage backend, which had great performance. Ever since switching though, I can't even use the application because everything takes ages.
A simple test case adds 30 vertices and commits the changes; This is what I get:
...ANSWER
Answered 2017-May-08 at 08:42I created an issue on GitHub to track reproduction of your perceived latency. I measure only 84 ms commit time on the command line when I run your code, and even if I include all of the setup and static Java initialization code, end-to-end the test takes only 5 seconds. Please try out the master branch.
QUESTION
When I try to create a TinkerPop Graph instance that connects to a (local) DynamoDB server, I'm getting this exception:
...ANSWER
Answered 2017-Mar-19 at 19:25Trust Occam's razor: The simplest answer is likely the correct one. I had manually linked a .jar
file that was including an older version of the Apache HTTP Client. It works now that I got rid of it.
QUESTION
The following query should return at most limit
vertices with the label REPOSITORY
, that were last updated before minLastUpdated
and are not of type FILE_UPLOAD
, unless the NEEDS_UPDATE
flag is set.
ANSWER
Answered 2017-Mar-14 at 10:30Only PropertyKey.INDEXED_LABEL.name()
and PropertyKey.LAST_UPDATED.name()
are relevant, other properties can't be used for the index lookup. That said, it would make sense to create a search index as a) you have multiple properties and b) one of them has a range condition: P.lt(minLastUpdated)
(no other index can answer range queries and having multiple multiple properties covered by a composite index is known to cause trouble sooner or later). Create a single index that covers both properties to get the best performance.
QUESTION
We're currently trying to bulk load some files from HDFS into titan using a map reduce job and the titan dependencies. However, we're running into an issue once the map jobs start where it can't find a tinkerpop class. This is the error:
...ANSWER
Answered 2017-Jan-31 at 05:02Upgrade your gremlin jars in pom.xml
QUESTION
In the host machine's shell:
...ANSWER
Answered 2017-Jan-08 at 22:48On a high level, my question is simply "What is going on here and what can I do about it?"
If you look at the "caused by" chain for the exception, the original one says:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install titan.core
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page