incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colin Clark <co...@clark.ws>
Subject Re: initial token crashes cassandra
Date Sun, 18 May 2014 00:06:42 GMT
You probably generated the wrong token type.  Look for a murmur token
generator on the Datastax site.

--
Colin
320-221-9531


On May 17, 2014, at 7:00 PM, Tim Dunphy <bluethundr@gmail.com> wrote:

Hi and thanks for your response.

The puzzling thing is that yes I am using the murmur partition, yet I am
still getting the error I just told you guys about:

[root@beta:/etc/alternatives/cassandrahome] #grep -i partition
conf/cassandra.yaml | grep -v '#'
partitioner: org.apache.cassandra.dht.Murmur3Partitioner

Thanks
Tim


On Sat, May 17, 2014 at 3:23 PM, Colin <colpclark@gmail.com> wrote:

> You may have used the old random partitioner token generator.  Use the
> murmur partitioner token generator instead.
>
> --
> Colin
> 320-221-9531
>
>
> On May 17, 2014, at 1:15 PM, Tim Dunphy <bluethundr@gmail.com> wrote:
>
> Hey all,
>
>  I've set my initial_token in cassandra 2.0.7 using a python script I
> found at the datastax wiki.
>
> I've set the value like this:
>
> initial_token: 85070591730234615865843651857942052864
>
> And cassandra crashes when I try to start it:
>
> [root@beta:/etc/alternatives/cassandrahome] #./bin/cassandra -f
>  INFO 18:14:38,511 Logging initialized
>  INFO 18:14:38,560 Loading settings from
> file:/usr/local/apache-cassandra-2.0.7/conf/cassandra.yaml
>  INFO 18:14:39,151 Data files directories: [/var/lib/cassandra/data]
>  INFO 18:14:39,152 Commit log directory: /var/lib/cassandra/commitlog
>  INFO 18:14:39,153 DiskAccessMode 'auto' determined to be mmap,
> indexAccessMode is mmap
>  INFO 18:14:39,153 disk_failure_policy is stop
>  INFO 18:14:39,153 commit_failure_policy is stop
>  INFO 18:14:39,161 Global memtable threshold is enabled at 251MB
>  INFO 18:14:39,362 Not using multi-threaded compaction
> ERROR 18:14:39,365 Fatal configuration error
> org.apache.cassandra.exceptions.ConfigurationException: For input string:
> "85070591730234615865843651857942052864"
>         at
> org.apache.cassandra.dht.Murmur3Partitioner$1.validate(Murmur3Partitioner.java:178)
>         at
> org.apache.cassandra.config.DatabaseDescriptor.applyConfig(DatabaseDescriptor.java:440)
>         at
> org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:111)
>         at
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:153)
>         at
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:471)
>         at
> org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:560)
> For input string: "85070591730234615865843651857942052864"
> Fatal configuration error; unable to start. See log for stacktrace.
>
> I really need to get replication going between 2 nodes. Can someone clue
> me into why this may be crashing?
>
> Thanks!
> Tim
>
> --
> GPG me!!
>
> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
>
>


-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B

Mime
View raw message