[
https://issues.apache.org/jira/browse/CASSANDRA-1549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
paul cannon updated CASSANDRA-1549:
-----------------------------------
Attachment: 0000-fix-cassandra-cli-gc_grace_seconds.patch
> cassandra-cli craps its pants and dies when 'gc_grace_seconds' is used in cf
> creation
> -------------------------------------------------------------------------------------
>
> Key: CASSANDRA-1549
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1549
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Environment: encountered on Debian Squeeze with Cassandra from HEAD
> (r1001931)
> Reporter: paul cannon
> Priority: Minor
> Fix For: 0.7 beta 2
>
> Attachments: 0000-fix-cassandra-cli-gc_grace_seconds.patch
>
> Original Estimate: 0.08h
> Remaining Estimate: 0.08h
>
> {noformat}
> trunk$ bin/cassandra-cli --host localhost
> Connected to: "Test Cluster" on localhost/9160
> Welcome to cassandra CLI.
> Type 'help' or '?' for help. Type 'quit' or 'exit' to quit.
> [defa...@unknown] use Keyspace1
> Authenticated to keyspace: Keyspace1
> [defa...@keyspace1] create column family cfname with gc_grace_seconds=86400
> Exception in thread "main" java.lang.AssertionError
> at
> org.apache.cassandra.cli.CliClient.executeAddColumnFamily(CliClient.java:817)
> at
> org.apache.cassandra.cli.CliClient.executeCLIStmt(CliClient.java:105)
> at org.apache.cassandra.cli.CliMain.processCLIStmt(CliMain.java:230)
> at org.apache.cassandra.cli.CliMain.main(CliMain.java:302)
> {noformat}
> it's just a missing "break;" statement in CliClient.java.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.