To be honest I haven't run a cluster with Murmur3.

You can still use indexing with RandomPartitioner (all us "old" folk are stuck 
on Random btw..)

And there was a thread floating around yesterday where Edward did some 
benchmarks and found that Murmur3 was actually slower than RandomPartitioner.

http://www.mail-archive.com/user@cassandra.apache.org/msg26789.html<http://permalink.gmane.org/gmane.comp.db.cassandra.user/30182>

I do know that with vnodes token allocation is now 100% dynamic so no need to 
manually assign tokens to nodes anymore.

Best,
michael

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

Michael

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:mkjell...@barracuda.com]
Sent: Friday, January 04, 2013 8:39 AM
To: user@cassandra.apache.org<mailto:user@cassandra.apache.org>
Subject: Re: Specifying initial token in 1.2 fails

Murmur3 != MD5 (RandomPartitioner)

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

Hi

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.

Thanks



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

Southfield Public School students safely access the tech tools they need on and 
off campus with the Barracuda Web Filter.

Quick installation and easy to use- try the Barracuda Web Filter free for 30 
days: http://on.fb.me/Vj6JBd

Reply via email to