cassandra-commits mailing list archives

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

    [ https://issues.apache.org/jira/browse/CASSANDRA-3728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13192945#comment-13192945
] 

Pavel Yaskevich commented on CASSANDRA-3728:
--------------------------------------------

Works for me on the current cassandra-1.0 branch

{noformat}
[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;
71997dc0-473c-11e1-0000-242d50cf1fdd
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
[default@ks]
{noformat}

Yuki, can you please test too?
                
> Better error message when a column family creation fails
> --------------------------------------------------------
>
>                 Key: CASSANDRA-3728
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3728
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message