简体   繁体   中英

Titan Graph Database with Cassandra

Is it possible to install the titan graph Database which uses cassandra as the backend in windows 7? I tried installing the titan-server-0.4.4 which had cassandra in it. This downloaded zip had titan.sh, but as i'm using windows i require the titan.bat file. The command that i was to run is "titan.sh -c cassandra-es start"

If you want to run on Windows, you can try installing Cassandra and Elasticsearch separately because the Titan 1.0 distribution does not include a titan.bat . In addition, there were some fixes that have been put into Titan post-1.0 release that will help with running on Windows.

First, you can use the DataStax Cassandra distribution for Windows from Planet Cassandra . Based on Titan's version compatibility matrix , you should go with the MSI installer for Cassandra 2.1.x. For Elasticsearch, you should go with version 1.5.2 ( installation reference ).

Next, you should unzip titan-1.0.0-hadoop1.zip . Then you will need to copy this gremlin.bat and gremlin-server.bat into the %TITAN_HOME%\\bin directory. You also will need to copy this gremlin-server.yaml and titan-cassandra-es-server.properties into the %TITAN_HOME%\\conf\\gremlin-server directory.

Now, you should be ready to test it out. Start Cassandra and Elasticsearch first. Then start Titan Server with %TITAN_HOME%\\bin\\gremlin-server.bat .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM