incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Garman <AGar...@Weather.com>
Subject Re: What is K-table ?
Date Wed, 01 Sep 2010 19:44:18 GMT
yaw <yawyway <at> gmail.com> writes:

> 
> Hi all, connecting to a cluster with cassandra-cli and trying a 
> describe command,
> I obtain a  "missing K_TABLE" message

<snip>

> Is this a real issue?

I would chock this one up to a mix of user error and cryptic 
CLI message.

describe command is describe keyspace <keyspaceName>

------
[default@unknown] describe keyspace alerts
Keyspace: alerts

Column Family Name: byLocation
Column Family Type: Super
Column Sorted By: org.apache.cassandra.db.marshal.UTF8Type
flush period: null minutes
------

The CLI seems to be nice enough to guess that what you want
is describe keyspace.  If the CLI responded with something 
informative, users would have a d'oh moment and type it right 
next time.

------
[default@unknown] describe alerts
line 1:9 missing K_TABLE at 'alerts'
Keyspace: alerts

Column Family Name: byLocation
Column Family Type: Super
Column Sorted By: org.apache.cassandra.db.marshal.UTF8Type
flush period: null minutes
------

I'm guessing that as describe <keyspaceName> gives a message
that the developers plan to describe other things in the future.
At which point, it'll become a worst bet that the user intends 
to describe keyspace as more things can be described.



Mime
View raw message