cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yang <teddyyyy...@gmail.com>
Subject assertion error on Hinted hand off
Date Sat, 01 Oct 2011 01:18:28 GMT
at start up, I see these errors in system.log, after all the commitlog
has been replayed.




 INFO [HintedHandoff:1] 2011-10-01 01:14:58,127
HintedHandOffManager.java (line 259) Started hinted handoff for token:
801411834
60469231731687303715884105728 with IP: /10.71.21.46
ERROR [HintedHandoff:1] 2011-10-01 01:14:58,448
AbstractCassandraDaemon.java (line 133) Fatal exception in thread
Thread[HintedH
andoff:1,5,main]
java.lang.AssertionError
        at org.apache.cassandra.db.HintedHandOffManager.deliverHintsToEndpoint(HintedHandOffManager.java:282)
        at org.apache.cassandra.db.HintedHandOffManager.access$100(HintedHandOffManager.java:81)
        at org.apache.cassandra.db.HintedHandOffManager$2.runMayThrow(HintedHandOffManager.java:333)
        at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
        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:679)
ERROR [HintedHandoff:1] 2011-10-01 01:14:58,449
AbstractCassandraDaemon.java (line 133) Fatal exception in thread
Thread[HintedHandoff:1,5,main]
java.lang.AssertionError
        at org.apache.cassandra.db.HintedHandOffManager.deliverHintsToEndpoint(HintedHandOffManager.java:282)
        at org.apache.cassandra.db.HintedHandOffManager.access$100(HintedHandOffManager.java:81)
        at org.apache.cassandra.db.HintedHandOffManager$2.runMayThrow(HintedHandOffManager.java:333)
        at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
        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:679)





this is from a snapshot in git about 10 days ago,
code leading to line 282 in HintedHandOffManager.java is

            for (IColumn hint : hintColumnFamily.getSortedColumns())
            {
                startColumn = hint.name();

                IColumn versionColumn =
hint.getSubColumn(ByteBufferUtil.bytes("version"));
                IColumn tableColumn =
hint.getSubColumn(ByteBufferUtil.bytes("table"));
                IColumn keyColumn =
hint.getSubColumn(ByteBufferUtil.bytes("key"));
                IColumn mutationColumn =
hint.getSubColumn(ByteBufferUtil.bytes("mutation"));
                assert versionColumn != null;



Thanks
Yang

Mime
View raw message