You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Eric Lubow (Created) (JIRA)" <ji...@apache.org> on 2012/01/11 22:23:39 UTC

[jira] [Created] (CASSANDRA-3728) Better error message when a column family creation fails

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
            Priority: Minor


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

        

[jira] [Updated] (CASSANDRA-3728) Better error message when a column family creation fails

Posted by "Jonathan Ellis (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-3728:
--------------------------------------

         Reviewer: yukim
    Fix Version/s: 1.0.8
         Assignee: Pavel Yaskevich
    
> 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

        

[jira] [Resolved] (CASSANDRA-3728) Better error message when a column family creation fails

Posted by "Jonathan Ellis (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-3728.
---------------------------------------

       Resolution: Cannot Reproduce
    Fix Version/s:     (was: 1.0.8)
         Reviewer:   (was: yukim)
         Assignee:     (was: Pavel Yaskevich)
    
> 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
>            Priority: Minor
>              Labels: cli
>
> 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

        

[jira] [Commented] (CASSANDRA-3728) Better error message when a column family creation fails

Posted by "Pavel Yaskevich (Commented) (JIRA)" <ji...@apache.org>.
    [ 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