cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MOHD ARSHAD SALEEM <marshadsal...@tataelxsi.co.in>
Subject how to create keyspace using cassandra API's
Date Wed, 06 Jun 2012 08:56:39 GMT
Hi All,

I am using Hector as a client in cassandra.And  iam trying to create Keyspace using the following
API's
Keyspace keyspace = HFactory.createKeyspace("test", cluster);
but it showing the following error:
caused by: InvalidRequestException(why:Keyspace test does not exist)
can any body help me how to create keyspace in cassandra.

Regards
Arshad

Mime
View raw message