Titan + Cassandra on Mac 10.9

Play with cqlsh of Cassandra:

Last login: Thu Nov 12 16:18:21 on ttys002
dhcp-892be8ce:apache-cassandra-3.0.0 mac$ bin/cqlsh
Connected to Test Cluster at
[cqlsh 5.0.1 | Cassandra 3.0.0 | CQL spec 3.3.1 | Native protocol v4]
Use HELP for help.

Usually try:
>> sudo bin/cassandra shutdown
(not working actually)

Ports already in use….(tried kill -9 -PID, but seems not working…) So better to change the conf/cassandra.yaml, and find the port number and do changes.
Also tried

pkill -f CassandraDaemon

Seems not work very well.

The following will allow Cassandra run not in bg.

bin/cassandra -f

Finally, I re-stared my machine and everything worked well….

Play with local mode of Titan:

Working smoothly.

Remote Server Mode

Still working on this part. I can not connect my Java code with Titan. >_<.
Question asked here.

References and useful links:
https://jaceklaskowski.gitbooks.io/titan-scala/content/index.html (A handbook of Titan)
http://stackoverflow.com/questions/19006616/how-to-import-a-csv-file-into-titan-graph-database (Loding CSV to Titan)

Published by Irene

Keep calm and update blog.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: