Cassandra unknown exception

cassandra

Solution

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

E.g

<Keyspaces>
    <Keyspace Name="UserData">
     ....
</Keyspaces>

Problem

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.

Original source