incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kasper Middelboe Petersen <kas...@sybogames.com>
Subject Re: TSocket read 0 bytes cqlsh error
Date Fri, 21 Feb 2014 11:03:52 GMT
Looks like the problem is caused by:
https://issues.apache.org/jira/browse/CASSANDRA-5202



On Fri, Feb 21, 2014 at 10:26 AM, Kasper Middelboe Petersen <
kasper@sybogames.com> wrote:

> Hi,
>
> I'm getting a "TSocket read 0 bytes" error in cqlsh when doing a "SELECT *
> FROM tbl".
>
> Anyone else experienced this?
>
> It's a single node cluster running locally. I've tried doing a nodetool
> cleanup but that didn't solve the issue.
>
> Version information:
>  INFO [main] 2014-02-21 10:20:25,224 StorageService.java (line 487)
> Cassandra version: 2.0.5
>  INFO [main] 2014-02-21 10:20:25,224 StorageService.java (line 488) Thrift
> API version: 19.39.0
>  INFO [main] 2014-02-21 10:20:25,227 StorageService.java (line 489) CQL
> supported versions: 2.0.0,3.1.4 (default: 3.1.4)
>
>
> I get this error in the cassandra logs:
>
> ERROR [Thrift:1] 2014-02-21 10:21:03,963 CustomTThreadPoolServer.java
> (line 212) Error occurred during processing of message.
> java.lang.IllegalArgumentException
> at java.nio.Buffer.limit(Buffer.java:267)
> at
> org.apache.cassandra.db.marshal.AbstractCompositeType.getBytes(AbstractCompositeType.java:55)
>  at
> org.apache.cassandra.db.marshal.AbstractCompositeType.getWithShortLength(AbstractCompositeType.java:64)
> at
> org.apache.cassandra.db.marshal.AbstractCompositeType.split(AbstractCompositeType.java:130)
>  at
> org.apache.cassandra.cql3.statements.SelectStatement.processColumnFamily(SelectStatement.java:874)
> at
> org.apache.cassandra.cql3.statements.SelectStatement.process(SelectStatement.java:854)
>  at
> org.apache.cassandra.cql3.statements.SelectStatement.processResults(SelectStatement.java:222)
> at
> org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:202)
>  at
> org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:172)
> at
> org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:58)
>  at
> org.apache.cassandra.cql3.QueryProcessor.processStatement(QueryProcessor.java:188)
> at
> org.apache.cassandra.cql3.QueryProcessor.process(QueryProcessor.java:222)
>  at
> org.apache.cassandra.cql3.QueryProcessor.process(QueryProcessor.java:212)
> at
> org.apache.cassandra.thrift.CassandraServer.execute_cql3_query(CassandraServer.java:1958)
>  at
> org.apache.cassandra.thrift.Cassandra$Processor$execute_cql3_query.getResult(Cassandra.java:4486)
> at
> org.apache.cassandra.thrift.Cassandra$Processor$execute_cql3_query.getResult(Cassandra.java:4470)
>  at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
> at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
>  at
> org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:194)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>  at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:744)
>
>

Mime
View raw message