cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Hoerner (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-5814) RowIndexEntry.deletionTime raises UnsupportedOperationException when upgrading to 1.2.7
Date Fri, 26 Jul 2013 21:19:49 GMT
Brett Hoerner created CASSANDRA-5814:
----------------------------------------

             Summary: RowIndexEntry.deletionTime raises UnsupportedOperationException when
upgrading to 1.2.7
                 Key: CASSANDRA-5814
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5814
             Project: Cassandra
          Issue Type: Bug
    Affects Versions: 1.2.7
            Reporter: Brett Hoerner


Upgrading from 1.2.5 to 1.2.7 caused the following exception:

{code}
ERROR [MutationStage:59] 2013-07-26 19:35:10,460 CassandraDaemon.java (line 192) Exception
in thread Thread[MutationStage:59,5,main]
java.lang.ExceptionInInitializerError
	at org.apache.cassandra.utils.CounterId.localIds(CounterId.java:49)
	at org.apache.cassandra.utils.CounterId.getLocalId(CounterId.java:54)
	at org.apache.cassandra.db.context.CounterContext.create(CounterContext.java:105)
	at org.apache.cassandra.db.CounterUpdateColumn.localCopy(CounterUpdateColumn.java:84)
	at org.apache.cassandra.db.CounterUpdateColumn.localCopy(CounterUpdateColumn.java:34)
	at org.apache.cassandra.db.CounterMutation.apply(CounterMutation.java:133)
	at org.apache.cassandra.service.StorageProxy$7.runMayThrow(StorageProxy.java:758)
	at org.apache.cassandra.service.StorageProxy$LocalMutationRunnable.run(StorageProxy.java:1630)
	at org.apache.cassandra.service.StorageProxy$3.apply(StorageProxy.java:142)
	at org.apache.cassandra.service.StorageProxy.performWrite(StorageProxy.java:385)
	at org.apache.cassandra.service.StorageProxy.applyCounterMutationOnLeader(StorageProxy.java:733)
	at org.apache.cassandra.db.CounterMutationVerbHandler.doVerb(CounterMutationVerbHandler.java:53)
	at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:56)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.UnsupportedOperationException
	at org.apache.cassandra.db.RowIndexEntry.deletionTime(RowIndexEntry.java:81)
	at org.apache.cassandra.db.columniterator.IndexedSliceReader.<init>(IndexedSliceReader.java:109)
	at org.apache.cassandra.db.columniterator.SSTableSliceIterator.createReader(SSTableSliceIterator.java:68)
	at org.apache.cassandra.db.columniterator.SSTableSliceIterator.<init>(SSTableSliceIterator.java:44)
	at org.apache.cassandra.db.filter.SliceQueryFilter.getSSTableColumnIterator(SliceQueryFilter.java:101)
	at org.apache.cassandra.db.filter.QueryFilter.getSSTableColumnIterator(QueryFilter.java:68)
	at org.apache.cassandra.db.CollationController.collectAllData(CollationController.java:272)
	at org.apache.cassandra.db.CollationController.getTopLevelColumns(CollationController.java:65)
	at org.apache.cassandra.db.ColumnFamilyStore.getTopLevelColumns(ColumnFamilyStore.java:1390)
	at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1213)
	at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1125)
	at org.apache.cassandra.db.SystemTable.getCurrentLocalCounterId(SystemTable.java:595)
	at org.apache.cassandra.utils.CounterId$LocalCounterIdHistory.<init>(CounterId.java:194)
	at org.apache.cassandra.utils.CounterId$LocalIds.<clinit>(CounterId.java:42)
	... 16 more
{code} 

The code causing it seems to have changed in 1.2.7 via https://issues.apache.org/jira/browse/CASSANDRA-5677

--
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: http://www.atlassian.com/software/jira

Mime
View raw message