cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stu Hood (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-2316) NoSuchElement exception on node which is streaming a repair
Date Fri, 18 Mar 2011 08:05:29 GMT

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

Stu Hood commented on CASSANDRA-2316:
-------------------------------------

Order matters, because there will be up to 2^16 invalid ranges. If keys arrive out of order
we will consume ranges that should have contained keys, possibly leading us to consume all
invalid ranges.

Either way, an assert that keys are arriving in order would be handy here.

> NoSuchElement exception on node which is streaming a repair
> -----------------------------------------------------------
>
>                 Key: CASSANDRA-2316
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2316
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.6
>            Reporter: Jason Harvey
>            Assignee: Stu Hood
>              Labels: repair
>             Fix For: 0.7.5
>
>
> Running latest SVN snapshot of 0.7.
> When I ran a repair on a node, that node's neighbor threw the following exception. Let
me know what other info could be helpful.
> {code}
>  INFO 23:43:44,358 Streaming to /10.251.166.15
> ERROR 23:50:21,321 Fatal exception in thread Thread[CompactionExecutor:1,1,main]
> java.util.NoSuchElementException
>         at com.google.common.collect.AbstractIterator.next(AbstractIterator.java:146)
>         at org.apache.cassandra.service.AntiEntropyService$Validator.add(AntiEntropyService.java:366)
>         at org.apache.cassandra.db.CompactionManager.doValidationCompaction(CompactionManager.java:825)
>         at org.apache.cassandra.db.CompactionManager.access$800(CompactionManager.java:56)
>         at org.apache.cassandra.db.CompactionManager$6.call(CompactionManager.java:358)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>         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:636)
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message