Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-1549

cassandra-cli craps its pants and dies when 'gc_grace_seconds' is used in cf creation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.7 beta 2
    • Legacy/Tools
    • None
    • encountered on Debian Squeeze with Cassandra from HEAD (r1001931)

    • Low

    Description

      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.
      [default@unknown] use Keyspace1
      Authenticated to keyspace: Keyspace1
      [default@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)
      

      it's just a missing "break;" statement in CliClient.java.

      Attachments

        Activity

          People

            thepaul paul cannon
            thepaul paul cannon
            paul cannon
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified