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] Updated: (CASSANDRA-722) batch insert failing with TokenMetadata AssertionError
Date Wed, 20 Jan 2010 15:13:54 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jaakko Laine updated CASSANDRA-722:
-----------------------------------

    Attachment: 722.patch

yeah, proximity seems good.

Attached patch ignores dead bootstrappers and looks for hinted locations based on proximity
(list of addresses is from gossiper.liveMembers).

This couples ARS with Gossiper, but don't know if that matters so much as it used FD already
before.


> 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