cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Rudenberg (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-4706) CQL3 CREATE TABLE with set and counter causes java.lang.IllegalArgumentException
Date Sun, 23 Sep 2012 15:41:07 GMT
Jonathan Rudenberg created CASSANDRA-4706:

             Summary: CQL3 CREATE TABLE with set and counter causes java.lang.IllegalArgumentException
                 Key: CASSANDRA-4706
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.2.0 beta 1
         Environment: rev 60bf68ca (tagged 1.2.0-beta1-tentative)

[cqlsh 2.2.0 | Cassandra 1.2.0-beta1-SNAPSHOT | CQL spec 3.0.0 | Thrift protocol 19.34.0]

OS X 10.8.2
java version "1.6.0_35"
Java(TM) SE Runtime Environment (build 1.6.0_35-b10-428-11M3811)
Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01-428, mixed mode)

Ubuntu 12.04.1 LTS
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)
            Reporter: Jonathan Rudenberg
            Priority: Blocker

Running a freshly compiled cassandra with non data, and a brand new keyspace (SimpleStrategy,
replication_factor 1)

cqlsh:test> CREATE TABLE test (id bigint PRIMARY KEY, count counter, things set<text>);
TSocket read 0 bytes

ERROR 11:25:54,926 Error occurred during processing of message.
	at java.nio.Buffer.limit(
	at org.apache.cassandra.db.marshal.AbstractCompositeType.getBytes(
	at org.apache.cassandra.db.marshal.AbstractCompositeType.getWithShortLength(
	at org.apache.cassandra.db.marshal.AbstractCompositeType.getString(
	at org.apache.cassandra.config.CFMetaData.validate(
	at org.apache.cassandra.service.MigrationManager.announceNewColumnFamily(
	at org.apache.cassandra.cql3.statements.CreateColumnFamilyStatement.announceMigration(
	at org.apache.cassandra.cql3.statements.SchemaAlteringStatement.execute(
	at org.apache.cassandra.cql3.QueryProcessor.processStatement(
	at org.apache.cassandra.cql3.QueryProcessor.process(
	at org.apache.cassandra.thrift.CassandraServer.execute_cql_query(
	at org.apache.cassandra.thrift.Cassandra$Processor$execute_cql_query.getResult(
	at org.apache.cassandra.thrift.Cassandra$Processor$execute_cql_query.getResult(
	at org.apache.thrift.ProcessFunction.process(
	at org.apache.thrift.TBaseProcessor.process(
	at org.apache.cassandra.thrift.CustomTThreadPoolServer$
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
	at java.util.concurrent.ThreadPoolExecutor$

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message