You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Nick Bailey (JIRA)" <ji...@apache.org> on 2011/01/11 17:47:47 UTC

[jira] Commented: (CASSANDRA-1959) java.lang.ArrayIndexOutOfBoundsException while executing repair on a freshly added node (0.7.0)

    [ https://issues.apache.org/jira/browse/CASSANDRA-1959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12980174#action_12980174 ] 

Nick Bailey commented on CASSANDRA-1959:
----------------------------------------

Looks like this was caused by CASSANDRA-1905. Or maybe just exposed by it.

I think this may be particularly nasty due to the fact that droped responses will lead to inflated timings reported to the DynamicEndpointSnitch.  I'm not sure but I think this may be contributing to flapping in another case where I've seen this error.

> java.lang.ArrayIndexOutOfBoundsException while executing repair on a freshly added node (0.7.0)
> -----------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1959
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1959
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.0
>            Reporter: Thibaut
>            Assignee: Jonathan Ellis
>             Fix For: 0.7.1
>
>         Attachments: 1959.patch.txt
>
>
> Hi,
> I added a node to the cluster (20 nodes in total) and ran repair on it after a while.
> The repair still runs, but there are errors in the log file (see below).
> Some of the data in the clsuter has been filled with rc-4. The cluster runs on version 0.7.0 (the release linked on the main cassandra web site).
> Any ideas what might cause this?
> (PS. 0.7.0 turns up as unreleased version in Affects Version/s:) 
> INFO [CompactionExecutor:1] 2011-01-10 19:55:20,684 SSTableReader.java (line 158) Opening /hd2/cassandra_md5/data/table_x/table_x-e-4
>  INFO [CompactionExecutor:1] 2011-01-10 19:55:20,775 SSTableReader.java (line 158) Opening /hd2/cassandra_md5/data/table_x/table_x_meta-e-14
> ERROR [RequestResponseStage:3] 2011-01-10 19:55:20,856 DebuggableThreadPoolExecutor.java (line 103) Error in ThreadPoolExecutor
> java.lang.ArrayIndexOutOfBoundsException: -1
>         at java.util.ArrayList.fastRemove(ArrayList.java:441)
>         at java.util.ArrayList.remove(ArrayList.java:424)
>         at com.google.common.collect.AbstractMultimap.remove(AbstractMultimap.java:219)
>         at com.google.common.collect.ArrayListMultimap.remove(ArrayListMultimap.java:60)
>         at org.apache.cassandra.net.MessagingService.responseReceivedFrom(MessagingService.java:436)
>         at org.apache.cassandra.net.ResponseVerbHandler.doVerb(ResponseVerbHandler.java:40)
>         at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:63)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
> ERROR [RequestResponseStage:3] 2011-01-10 19:55:20,856 AbstractCassandraDaemon.java (line 91) Fatal exception in thread Thread[RequestResponseStage:3,5,main]
> java.lang.ArrayIndexOutOfBoundsException: -1
>         at java.util.ArrayList.fastRemove(ArrayList.java:441)
>         at java.util.ArrayList.remove(ArrayList.java:424)
>         at com.google.common.collect.AbstractMultimap.remove(AbstractMultimap.java:219)
>         at com.google.common.collect.ArrayListMultimap.remove(ArrayListMultimap.java:60)
>         at org.apache.cassandra.net.MessagingService.responseReceivedFrom(MessagingService.java:436)
>         at org.apache.cassandra.net.ResponseVerbHandler.doVerb(ResponseVerbHandler.java:40)
>         at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:63)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.