cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dikang Gu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-12715) Fix exceptions with the new vnode allocation.
Date Tue, 27 Sep 2016 00:42:22 GMT

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

Dikang Gu commented on CASSANDRA-12715:
---------------------------------------

I have a fix for this, [~blambov], do you mind to take a look? https://github.com/DikangGu/cassandra/commit/9a4d4153dcfae7a95992b5506b50db12a95233b6

Thanks!

> Fix exceptions with the new vnode allocation.
> ---------------------------------------------
>
>                 Key: CASSANDRA-12715
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12715
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Dikang Gu
>            Assignee: Dikang Gu
>             Fix For: 3.0.x, 3.x
>
>
> Problem: see exceptions when bootstrapping nodes using the new vnode allocation algorithm.
I'm able to reproduce it in trunk as well:
> {code}
> INFO  [main] 2016-09-26 15:36:54,978 StorageService.java:1437 - JOINING: calculation
complete, ready to bootstrap
> INFO  [main] 2016-09-26 15:36:54,978 StorageService.java:1437 - JOINING: getting bootstrap
token
> ERROR [main] 2016-09-26 15:36:54,989 CassandraDaemon.java:752 - Exception encountered
during startup
> java.lang.AssertionError: null
>         at org.apache.cassandra.locator.TokenMetadata.getTopology(TokenMetadata.java:1209)
~[main/:na]
>         at org.apache.cassandra.dht.tokenallocator.TokenAllocation.getStrategy(TokenAllocation.java:201)
~[main/:na]
>         at org.apache.cassandra.dht.tokenallocator.TokenAllocation.getStrategy(TokenAllocation.java:164)
~[main/:na]
>         at org.apache.cassandra.dht.tokenallocator.TokenAllocation.allocateTokens(TokenAllocation.java:54)
~[main/:na]
>         at org.apache.cassandra.dht.BootStrapper.allocateTokens(BootStrapper.java:207)
~[main/:na]
>         at org.apache.cassandra.dht.BootStrapper.getBootstrapTokens(BootStrapper.java:174)
~[main/:na]
>         at org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:929)
~[main/:na]
>         at org.apache.cassandra.service.StorageService.initServer(StorageService.java:697)
~[main/:na]
>         at org.apache.cassandra.service.StorageService.initServer(StorageService.java:582)
~[main/:na]
>         at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:392)
[main/:na]
>         at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:601)
[main/:na]
>         at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:735)
[main/:na]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message