Unable to access column family in CLI after building CF in CQL

2011-06-16 Thread yikes bigdata
Hi, I was following the CQL example on the DataStax website and was able to create a new column family and query it. But when I viewed the column family in the CLI, it gives me the following error. # Unable to read column family created from CQL [default@store] list users2; *users2 not found in

Re: Unable to access column family in CLI after building CF in CQL

2011-06-16 Thread Jonathan Ellis
If you create CFs outside the cli, you may need to restart it to refresh its internal cache of the schema. On Thu, Jun 16, 2011 at 8:51 AM, yikes bigdata yikes.bigd...@gmail.com wrote: Hi, I was following the CQL example on the DataStax website and was able to create a new column family and

Re: Unable to access column family in CLI after building CF in CQL

2011-06-16 Thread Konstantin Naryshkin
The second error (the CQL select) is because you have different Key Validation Class values for your two user columns. users is org.apache.cassandra.db.marshal.BytesType, while users2 is org.apache.cassandra.db.marshal.UTF8Type. The select is failing because you are comparing a String to a

Re: Unable to access column family in CLI after building CF in CQL

2011-06-16 Thread yikes bigdata
Ah that works. Thanks everyone for the help. On Thu, Jun 16, 2011 at 9:04 AM, Konstantin Naryshkin konstant...@a-bb.netwrote: The second error (the CQL select) is because you have different Key Validation Class values for your two user columns. users is