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 Thu, 17 Mar 2011 19:36:29 GMT

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

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

"Invalid" ranges in the tree are ranges that need to be hashed. The idea was that the tree
could be persisted between repair sessions, and ranges would be invalidated as writes arrived:
then the validation compaction would only need to compact invalid ranges of the tree.

In the current implementation, the tree will only contain invalid ranges, since it is being
created from scratch for every repair.

> 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