cassandra support on beta2

34 views
Skip to first unread message

Fairuz WAN ISMAIL

unread,
Oct 28, 2014, 10:59:57 AM10/28/14
to clojure-...@googlegroups.com
Hi,
I'm using Titanium 1.0.0-beta2 with Titan 0.5.0. In the repl, when I'm trying to open a connection to cassandra it failed with below error. Is this expected in beta2? When trying to open using the inmemory, I have no problem. Thanks.



sandbox6.core=> (require `[clojurewerkz.titanium.graph :as tg])
nil

sandbox6.core=> (tg/open {"storage.backend" "cassandra" "storage.hostname" "127.0.0.1"})

ClassNotFoundException com.thinkaurelius.titan.diskstorage.cassandra.astyanax.AstyanaxStoreManager  java.net.URLClassLoader$1.run (URLClassLoader.java:366)

sandbox6.core=> (tg/open {"storage.backend" "inmemory"})
#<StandardTitanGraph titangraph[inmemory:[127.0.0.1]]>

sandbox6.core=> 

Andrew Fitzgerald

unread,
Oct 28, 2014, 11:05:31 AM10/28/14
to clojure-...@googlegroups.com
You need to add titan-cassandra as a dependency to your project.

[com.thinkaurelius.titan/titan-cassandra "0.5.0"]

Fairuz WAN ISMAIL

unread,
Oct 28, 2014, 12:02:18 PM10/28/14
to clojure-...@googlegroups.com
It worked! Thanks

p/s: I need to add titan-es as well in the dependencies.
Reply all
Reply to author
Forward
0 new messages