[ 
https://issues.apache.org/jira/browse/CASSANDRA-1204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mason Bryant updated CASSANDRA-1204:
------------------------------------

    Attachment: cli_new_methods4.diff
                cli_unit_tests2.diff

Attached.

I corrected the unrelated bracket placement because you commented on it in the 
first review and I assumed that since there were no styleguide violations in my 
diffs the convention was to correct them all in files as they are updated.

Anyway, new diffs are attached.

Minor change to the unit tests to fix a test that was failing as a result of 
updates. Other than that just merging.

> CliClient Support for add, drop, and rename should be added for keyspace and 
> column family
> ------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1204
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1204
>             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, cli_new_methods3.diff, 
> cli_new_methods4.diff, cli_unit_tests.diff, cli_unit_tests2.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 
> family.
> 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.

Reply via email to