tags:

views:

168

answers:

1

I have managed to set up Cassandra + Thrift and the Python wrapper for Thrift LazyBoy, and I have followed an example mentioned in the LazyBoy Wiki.After testing that example I'm getting an error with an exception.

cassandra.ttypes.InvalidRequestException: InvalidRequestException(why='Keyspace
UserData does not exist in this schema.')

here's the exception.I'm expecting some helping hand.

Thanks.

+4  A: 

Make sure that the keyspace 'UserData' exists in your configuration file (conf/storage-conf.xml)

E.g

<Keyspaces>
    <Keyspace Name="UserData">
     ....
</Keyspaces>
Schildmeijer
That doesn't make any sense, do this configuration need to be done every time when a new keyspace is created.
MMRUser
I'm not a big fan of the comparison but you could compare a keyspace to a database name.
Schildmeijer