cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Zubchenok (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-7828) New node cannot be added if a composite column was dropped
Date Tue, 26 Aug 2014 00:43:58 GMT
Igor Zubchenok created CASSANDRA-7828:

             Summary: New node cannot be added if a composite column was dropped
                 Key: CASSANDRA-7828
             Project: Cassandra
          Issue Type: Bug
          Components: Core
            Reporter: Igor Zubchenok
         Attachments: java.lang.RuntimeException.txt, mycolumnfamily.txt

I get a RuntimeException at new node system.log on bootstrapping a new DC:

java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException
	at org.apache.cassandra.utils.FBUtilities.waitOnFuture(
	at org.apache.cassandra.db.index.SecondaryIndexManager.maybeBuildSecondaryIndexes(
	at org.apache.cassandra.streaming.StreamReceiveTask$
	at java.util.concurrent.Executors$
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(
	at java.util.concurrent.ScheduledThreadPoolExecutor$
	at java.util.concurrent.ThreadPoolExecutor.runWorker(
	at java.util.concurrent.ThreadPoolExecutor$
Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException
	at java.util.concurrent.FutureTask.get(
	at org.apache.cassandra.utils.FBUtilities.waitOnFuture(
	... 9 more
Caused by: java.lang.IllegalArgumentException
	at java.nio.Buffer.limit(
	at org.apache.cassandra.utils.ByteBufferUtil.readBytes(
	at org.apache.cassandra.utils.ByteBufferUtil.readBytesWithShortLength(
	at org.apache.cassandra.dht.LocalToken.compareTo(
	at org.apache.cassandra.db.DecoratedKey.compareTo(
	at org.apache.cassandra.db.DecoratedKey.compareTo(
	at java.util.concurrent.ConcurrentSkipListMap.findNode(
	at java.util.concurrent.ConcurrentSkipListMap.doGet(
	at java.util.concurrent.ConcurrentSkipListMap.get(
	at org.apache.cassandra.db.Memtable.resolve(
	at org.apache.cassandra.db.Memtable.put(
	at org.apache.cassandra.db.ColumnFamilyStore.apply(
	at org.apache.cassandra.db.index.AbstractSimplePerColumnSecondaryIndex.insert(
	at org.apache.cassandra.db.index.SecondaryIndexManager.indexRow(
	at org.apache.cassandra.db.Keyspace.indexRow(
	at org.apache.cassandra.db.compaction.CompactionManager$
	at java.util.concurrent.Executors$
	... 3 more

The exception stacktrace is attached (see java.lang.RuntimeException.txt).

My steps to reproduce (cassandra 2.0.9):
1. Create a CF with a secondary index on a CompositeType(Int32Type, UUIDType) column in DC1,
one node, NetworkTopologyStrategy, options DC1=1, DC2=1. (see mycolumnfamily.txt)
2. Create secondary index on the column of CompositeType.
3. Write any composite value to a row.
4. Drop the value.
5. Write another composite value to another row.
6. Drop second value.
7. Bootstrap add a new DC2.

The similar issue I got  on indexed composite column in a single 3 nodes DC with SimpleStrategy
and replication_factor=3 (cassandra 1.2.18).

This message was sent by Atlassian JIRA

View raw message