cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jaakko Laine (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-722) batch insert failing with TokenMetadata AssertionError
Date Thu, 21 Jan 2010 01:40:54 GMT

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

Jaakko Laine commented on CASSANDRA-722:
----------------------------------------

> Is there a way to remove the failed bootstrapped node from the cluster, decommission
obviously doesn't work...

Actually there is an "undocumented" feature in removetoken command that it will clear the
token from bootstrapping as well. If you know the token, remove it and that should take care
of it.

Probably need to provide better tools to investigate/poke bootstrapping and leaving tokens.


> batch insert failing with TokenMetadata AssertionError
> ------------------------------------------------------
>
>                 Key: CASSANDRA-722
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-722
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.5
>         Environment: r900058  4 node cluster, 1 more bootstrapping
>            Reporter: Dan Di Spaltro
>            Assignee: Jaakko Laine
>             Fix For: 0.5
>
>         Attachments: 722.patch
>
>
> I get this during the course of an insert.
> ERROR [pool-1-thread-17] 2010-01-20 03:50:40,517 Cassandra.java (line 1096) Internal
error processing batch_insert
> java.lang.AssertionError
>         at org.apache.cassandra.locator.TokenMetadata.getToken(TokenMetadata.java:212)
>         at org.apache.cassandra.locator.AbstractReplicationStrategy.getHintedMapForEndpoints(AbstractReplicationStrategy.java:129)
>         at org.apache.cassandra.locator.AbstractReplicationStrategy.getHintedEndpoints(AbstractReplicationStrategy.java:76)
>         at org.apache.cassandra.service.StorageService.getHintedEndpointMap(StorageService.java:1183)
>         at org.apache.cassandra.service.StorageProxy.insert(StorageProxy.java:101)
>         at org.apache.cassandra.service.CassandraServer.doInsert(CassandraServer.java:470)
>         at org.apache.cassandra.service.CassandraServer.batch_insert(CassandraServer.java:445)
>         at org.apache.cassandra.service.Cassandra$Processor$batch_insert.process(Cassandra.java:1088)
>         at org.apache.cassandra.service.Cassandra$Processor.process(Cassandra.java:817)
>         at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:253)
>         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)

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


Mime
View raw message