Yes indeed – my mistake.  Thanks.  I can specify RandomPartitioner, since I do not use indexing – yet.


Just for informational purposes – with Murmur3 - to achieve a balanced cluster – is the initial token method supported?

If so – how should these be generated, the token-generator seems to only apply to RandomPartitioner.


Thanks again


From: Michael Kjellman [mailto:mkjellman@barracuda.com]
Sent: Friday, January 04, 2013 8:39 AM
To: user@cassandra.apache.org
Subject: Re: Specifying initial token in 1.2 fails


Murmur3 != MD5 (RandomPartitioner)


From: Dwight Smith <Dwight.Smith@genesyslab.com>
Reply-To: "user@cassandra.apache.org" <user@cassandra.apache.org>
Date: Friday, January 4, 2013 8:36 AM
To: "'user@cassandra.apache.org'" <user@cassandra.apache.org>
Subject: Specifying initial token in 1.2 fails




Just started evaluating 1.2 – starting a clean Cassandra node – the usual practice is to specify the initial token – but when I attempt to start the node the following is observed:


INFO [main] 2013-01-03 14:08:57,774 DatabaseDescriptor.java (line 203) disk_failure_policy is stop

DEBUG [main] 2013-01-03 14:08:57,774 DatabaseDescriptor.java (line 205) page_cache_hinting is false

INFO [main] 2013-01-03 14:08:57,774 DatabaseDescriptor.java (line 266) Global memtable threshold is enabled at 339MB

DEBUG [main] 2013-01-03 14:08:58,008 DatabaseDescriptor.java (line 381) setting auto_bootstrap to true

ERROR [main] 2013-01-03 14:08:58,024 DatabaseDescriptor.java (line 495) Fatal configuration error

org.apache.cassandra.exceptions.ConfigurationException: For input string: "85070591730234615865843651857942052863"

        at org.apache.cassandra.dht.Murmur3Partitioner$1.validate(Murmur3Partitioner.java:180)

        at org.apache.cassandra.config.DatabaseDescriptor.loadYaml(DatabaseDescriptor.java:433)

        at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:121)

        at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:178)

        at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:397)

        at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:440)



This looks like a bug.






Join Barracuda Networks in the fight against hunger.
To learn how you can help in your community, please visit: http://on.fb.me/UAdL4f