cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mason Bryant (JIRA)" <>
Subject [jira] Updated: (CASSANDRA-1204) CliClient Support for add, drop, and rename should be added for keyspace and column family
Date Sat, 19 Jun 2010 00:14:23 GMT


Mason Bryant updated CASSANDRA-1204:

    Attachment: cli_new_methods2.diff

update (ignore previous diff)

    added grammars for add, drop, rename for namespace and column family

    implementations of same commands
    updated the help command accordingly
    describe keyspace prints the keyspace name and prints the name of each column family.

    sends the name for each column family in a call to describe keyspace
    added a method checkLoginAuthorization to so that keyspace does not always need to be
   updated system_drop_keyspace to not check to see if the user is currently in a keyspace
as that shouldn't matter

> CliClient Support for add, drop, and rename should be added for keyspace and column family
> ------------------------------------------------------------------------------------------
>                 Key: CASSANDRA-1204
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>    Affects Versions: 0.7
>            Reporter: Mason Bryant
>            Priority: Minor
>             Fix For: 0.7
>         Attachments: cli_new_methods2.diff
> Should add support for the add, drop, and rename operations to keyspace and column family
in the CliClient.
> Eg:
> add keyspace <keyspace>                                      Add a new keyspace.
> add column family <cf>[comparator]                      Add a new column family.
> drop keyspace <keyspace>                                      Delete a keyspace.
> drop column family <cf>                                  Delete a column family.
> rename keyspace <keyspace>=<keyspace_new_name>                Rename a keyspace.
> rename column family <name>=<new_name>                   Rename a column
> Note: I have patch built for this, but drop keyspace corrupts the schema and prevents
the node from restarting due to a bug elsewhere (see: CASSANDRA-1203)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message