You have to create the keyspace manually first using Cassandra cli Prakrati Agrawal | Developer - Big Data(I&D)| 9731648376 | www.mu-sigma.com
From: MOHD ARSHAD SALEEM [mailto:marshadsal...@tataelxsi.co.in] Sent: Wednesday, June 06, 2012 2:27 PM To: user@cassandra.apache.org Subject: how to create keyspace using cassandra API's 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 ________________________________ This email message may contain proprietary, private and confidential information. The information transmitted is intended only for the person(s) or entities to which it is addressed. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited and may be illegal. If you received this in error, please contact the sender and delete the message from your system. Mu Sigma takes all reasonable steps to ensure that its electronic communications are free from viruses. However, given Internet accessibility, the Company cannot accept liability for any virus introduced by this e-mail or any attachment and you are advised to use up-to-date virus checking software.