incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kochen <Rene.Koc...@emea.schange.com>
Subject Re: java.io.IOError: java.io.EOFException with version 0.7.6
Date Thu, 19 May 2011 20:41:52 GMT
http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/file/n6383644/CassandraIssue.zip
CassandraIssue.zip 

This is the test program (.NET 4)

I use Cassandra 0.7.6 with standard yaml and this super-column-family:

create column family Customers
with column_type = 'Super' 
and comparator = 'BytesType'
and gc_grace = 60;

In the program: set cassandra IP, keyspace and super-column-family and press
start.
Run program on empty database for about 30 minutes and exception should pop
up in cassandra log.

I receive the following exceptions:

java.io.IOError:
org.apache.cassandra.db.ColumnSerializer$CorruptColumnException: invalid
column name length 0
	at
org.apache.cassandra.io.util.ColumnIterator.deserializeNext(ColumnSortedMap.java:252)
	at
org.apache.cassandra.io.util.ColumnIterator.next(ColumnSortedMap.java:268)
	at
org.apache.cassandra.io.util.ColumnIterator.next(ColumnSortedMap.java:227)
	at java.util.concurrent.ConcurrentSkipListMap.buildFromSorted(Unknown
Source)
	at java.util.concurrent.ConcurrentSkipListMap.<init>(Unknown Source)
	at
org.apache.cassandra.db.SuperColumnSerializer.deserialize(SuperColumn.java:379)
	at
org.apache.cassandra.db.SuperColumnSerializer.deserialize(SuperColumn.java:362)
	at
org.apache.cassandra.db.SuperColumnSerializer.deserialize(SuperColumn.java:322)
	at
org.apache.cassandra.db.columniterator.SimpleSliceReader.computeNext(SimpleSliceReader.java:79)
	at
org.apache.cassandra.db.columniterator.SimpleSliceReader.computeNext(SimpleSliceReader.java:40)
	at
com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:136)
	at
com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:131)
	at
org.apache.cassandra.db.columniterator.SSTableSliceIterator.hasNext(SSTableSliceIterator.java:108)
	at
org.apache.commons.collections.iterators.CollatingIterator.set(CollatingIterator.java:283)
	at
org.apache.commons.collections.iterators.CollatingIterator.least(CollatingIterator.java:326)
	at
org.apache.commons.collections.iterators.CollatingIterator.next(CollatingIterator.java:230)
	at
org.apache.cassandra.utils.ReducingIterator.computeNext(ReducingIterator.java:69)
	at
com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:136)
	at
com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:131)
	at
org.apache.cassandra.db.filter.SliceQueryFilter.collectReducedColumns(SliceQueryFilter.java:116)
	at
org.apache.cassandra.db.filter.QueryFilter.collectCollatedColumns(QueryFilter.java:130)
	at
org.apache.cassandra.db.ColumnFamilyStore.getTopLevelColumns(ColumnFamilyStore.java:1385)
	at
org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1262)
	at
org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1190)
	at org.apache.cassandra.db.Table.getRow(Table.java:324)
	at
org.apache.cassandra.db.SliceFromReadCommand.getRow(SliceFromReadCommand.java:63)
	at
org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:451)
	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.cassandra.db.ColumnSerializer$CorruptColumnException:
invalid column name length 0
	at
org.apache.cassandra.db.ColumnSerializer.deserialize(ColumnSerializer.java:73)
	at
org.apache.cassandra.io.util.ColumnIterator.deserializeNext(ColumnSortedMap.java:248)
	... 30 more

java.io.IOError: java.io.EOFException
	at
org.apache.cassandra.io.util.ColumnIterator.deserializeNext(ColumnSortedMap.java:252)
	at
org.apache.cassandra.io.util.ColumnIterator.next(ColumnSortedMap.java:268)
	at
org.apache.cassandra.io.util.ColumnIterator.next(ColumnSortedMap.java:227)
	at java.util.concurrent.ConcurrentSkipListMap.buildFromSorted(Unknown
Source)
	at java.util.concurrent.ConcurrentSkipListMap.<init>(Unknown Source)
	at
org.apache.cassandra.db.SuperColumnSerializer.deserialize(SuperColumn.java:379)
	at
org.apache.cassandra.db.SuperColumnSerializer.deserialize(SuperColumn.java:362)
	at
org.apache.cassandra.db.SuperColumnSerializer.deserialize(SuperColumn.java:322)
	at
org.apache.cassandra.db.columniterator.SimpleSliceReader.computeNext(SimpleSliceReader.java:79)
	at
org.apache.cassandra.db.columniterator.SimpleSliceReader.computeNext(SimpleSliceReader.java:40)
	at
com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:136)
	at
com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:131)
	at
org.apache.cassandra.db.columniterator.SSTableSliceIterator.hasNext(SSTableSliceIterator.java:108)
	at
org.apache.commons.collections.iterators.CollatingIterator.set(CollatingIterator.java:283)
	at
org.apache.commons.collections.iterators.CollatingIterator.least(CollatingIterator.java:326)
	at
org.apache.commons.collections.iterators.CollatingIterator.next(CollatingIterator.java:230)
	at
org.apache.cassandra.utils.ReducingIterator.computeNext(ReducingIterator.java:69)
	at
com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:136)
	at
com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:131)
	at
org.apache.cassandra.db.filter.SliceQueryFilter.collectReducedColumns(SliceQueryFilter.java:116)
	at
org.apache.cassandra.db.filter.QueryFilter.collectCollatedColumns(QueryFilter.java:130)
	at
org.apache.cassandra.db.ColumnFamilyStore.getTopLevelColumns(ColumnFamilyStore.java:1385)
	at
org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1262)
	at
org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1190)
	at org.apache.cassandra.db.Table.getRow(Table.java:324)
	at
org.apache.cassandra.db.SliceFromReadCommand.getRow(SliceFromReadCommand.java:63)
	at
org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:451)
	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.io.EOFException
	at java.io.RandomAccessFile.readByte(Unknown Source)
	at
org.apache.cassandra.utils.ByteBufferUtil.readShortLength(ByteBufferUtil.java:324)
	at
org.apache.cassandra.utils.ByteBufferUtil.readWithShortLength(ByteBufferUtil.java:335)
	at
org.apache.cassandra.db.ColumnSerializer.deserialize(ColumnSerializer.java:71)
	at
org.apache.cassandra.io.util.ColumnIterator.deserializeNext(ColumnSortedMap.java:248)
	... 30 more



--
View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/java-io-IOError-java-io-EOFException-with-version-0-7-6-tp6382175p6383644.html
Sent from the cassandra-user@incubator.apache.org mailing list archive at Nabble.com.

Mime
View raw message