You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Andrew Garman <AG...@Weather.com> on 2010/09/01 21:44:18 UTC
Re: What is K-table ?
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.