I found the problem. jira ticket : https://issues.apache.org/jira/browse/CASSANDRA-8081
2014-10-06 18:45 GMT+02:00 Kais Ahmed <k...@neteck-fr.com>: > Hi all, > > I'm a bit stuck , i want to expand my cluster C* 2.0.6 but i encountered > an error on > the new node. > > ERROR [FlushWriter:2] 2014-10-06 16:15:35,147 CassandraDaemon.java (line > 199) Exception in thread Thread[FlushWriter:2,5,main] > java.lang.AssertionError: 394920 > at > org.apache.cassandra.utils.ByteBufferUtil.writeWithShortLength(ByteBufferUtil.java:342) > at > org.apache.cassandra.db.ColumnIndex$Builder.maybeWriteRowHeader(ColumnIndex.java:201) > at > org.apache.cassandra.db.ColumnIndex$Builder.add(ColumnIndex.java:188) > at > org.apache.cassandra.db.ColumnIndex$Builder.build(ColumnIndex.java:133) > at > org.apache.cassandra.io.sstable.SSTableWriter.rawAppend(SSTableWriter.java:202) > at > org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:187) > ... > > This assertion is here : > > public static void writeWithShortLength(ByteBuffer buffer, DataOutput > out) throws IOException > { > int length = buffer.remaining(); > -- assert 0 <= length && length <= FBUtilities.MAX_UNSIGNED_SHORT : > length; > out.writeShort(length); > write(buffer, out); // writing data bytes to output source > } > > But i dont know what i can do to complete the bootstrap. > > Thanks, > >