incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Brosius <dbros...@mebigfatguy.com>
Subject Re: initial token crashes cassandra
Date Sun, 18 May 2014 00:54:29 GMT
What Colin is saying is that the tool you used to create the token, is 
not creating tokens usable for the Murmur3Partitioner. That tool is 
probably generating tokens for the (original) RandomPartitioner, which 
has a different range.


On 05/17/2014 07:20 PM, Tim Dunphy 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 
> <mailto: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 <tel:320-221-9531>
>
>
>     On May 17, 2014, at 1:15 PM, Tim Dunphy <bluethundr@gmail.com
>     <mailto: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
>>     <http://pool.sks-keyservers.net> --recv-keys F186197B
>>
>
>
>
> -- 
> GPG me!!
>
> gpg --keyserver pool.sks-keyservers.net 
> <http://pool.sks-keyservers.net> --recv-keys F186197B
>


Mime
View raw message