cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Yaskevich (Commented) (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-3728) Better error message when a column family creation fails
Date Wed, 25 Jan 2012 09:10:43 GMT


Pavel Yaskevich commented on CASSANDRA-3728:

Works for me on the current cassandra-1.0 branch

[git:CASSANDRA-3728?] (~/work/java/git-cassandra) → ./bin/cassandra-cli --host localhost
crConnected to: "Test Cluster" on localhost/9160
eWelcome to Cassandra CLI version 1.0.7-SNAPSHOT

Type 'help;' or '?' for help.
Type 'quit;' or 'exit;' to quit.

[default@unknown] create keyspace ks;
Waiting for schema agreement...
... schemas agree across the cluster
[default@unknown] use ks;            
Authenticated to keyspace: ks
[default@ks] create column family foo-bar;
Invalid column family name: foo-bar

Yuki, can you please test too?
> Better error message when a column family creation fails
> --------------------------------------------------------
>                 Key: CASSANDRA-3728
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Eric Lubow
>            Assignee: Pavel Yaskevich
>            Priority: Minor
>              Labels: cli
>             Fix For: 1.0.8
> Since '-' characters are not allowed in column family names, there should be an error
thrown on column family name validation.
> [default@linkcurrent] create column family foo-bar;
> null

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message