[
https://issues.apache.org/jira/browse/CASSANDRA-1549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12915737#action_12915737
]
Hudson commented on CASSANDRA-1549:
-----------------------------------
Integrated in Cassandra #549 (See
[https://hudson.apache.org/hudson/job/Cassandra/549/])
fix setting gc_grace_secondsvia CLI.
patch by Paul Cannon; reviewed by jbellis for CASSANDRA-1549
> 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
> Affects Versions: 0.7 beta 2
> Environment: encountered on Debian Squeeze with Cassandra from HEAD
> (r1001931)
> Reporter: paul cannon
> Assignee: paul cannon
> Priority: Minor
> Fix For: 0.7.0
>
> 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.