Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8FCAD11EAE for ; Sun, 18 May 2014 00:50:24 +0000 (UTC) Received: (qmail 98528 invoked by uid 500); 18 May 2014 00:25:22 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 98385 invoked by uid 500); 18 May 2014 00:25:22 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 93660 invoked by uid 99); 18 May 2014 00:07:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 May 2014 00:07:12 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.216.173] (HELO mail-qc0-f173.google.com) (209.85.216.173) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 May 2014 00:07:08 +0000 Received: by mail-qc0-f173.google.com with SMTP id i8so6627300qcq.4 for ; Sat, 17 May 2014 17:06:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:from:in-reply-to:mime-version:date :message-id:subject:to:content-type; bh=Mu27Oeh7Eifmt+vMGngQorXKaaOInWYAfQgaUjO3HYE=; b=DdEszu7HoOV04l0MivjZHPhDLWZoRrqcY1NQlqu9D+2xIY4DSR60I9HazM/0SLgYrw bRqDWJe/w0e8ZJR+ilE3MMHcOE1KAkMMucZgd64iN3w09pNeqkJMTlYDLtEIRrXqUz1s 8xd7u0Q1LqXQ1/7nZv39hgLNYgUenWUhEkwdjt/TnBqQFFq6URVtoUR2gdeX6f5/yAQO Z/H4ocV97mu0jw6G9ENjwdznTxasCjfudBIaSgfb/LhSLSxl1WYz+0KZvYZ3p/Qla+Pv R8GSN5q3ExiNqMdPP6LxF9qwuQVAR9nYRhi/iKmQ6uvYS5UeklORZjJf832OCV63x+UZ XTEg== X-Gm-Message-State: ALoCoQlYBDmoW2VXaZeOUI1W517JtanZAAF8Qt9ZCI+8Uih9ggSEWvylNg+Qdv5SdgjsBXL5lv4P X-Received: by 10.224.35.209 with SMTP id q17mr35890105qad.9.1400371606920; Sat, 17 May 2014 17:06:46 -0700 (PDT) References: <4D04385E-8B82-4DCD-A129-E4B4FC4D1317@gmail.com> From: Colin Clark In-Reply-To: Mime-Version: 1.0 (1.0) Date: Sat, 17 May 2014 19:06:42 -0500 Message-ID: <-329428408524615279@unknownmsgid> Subject: Re: initial token crashes cassandra To: "user@cassandra.apache.org" Content-Type: multipart/alternative; boundary=089e013a00402f33fd04f9a16cc8 X-Virus-Checked: Checked by ClamAV on apache.org --089e013a00402f33fd04f9a16cc8 Content-Type: text/plain; charset=UTF-8 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 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 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 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.(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 --089e013a00402f33fd04f9a16cc8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
You probably generated the wrong t= oken type. =C2=A0Look for a murmur token generator on the Datastax site.
--
Colin
320-221-9531


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

Hi and thanks for your response.=C2=A0

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

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

Thanks
Tim


On Sat,= May 17, 2014 at 3:23 PM, Colin <colpclark@gmail.com> wrot= e:
You may have used the= old random partitioner token generator. =C2=A0Use the murmur partitioner t= oken generator instead.
=

On May 17, 2014, at 1:15 PM, Tim Dunphy <bluethundr@gmail.com<= /a>> wrote:

Hey all,

=
=C2=A0I've set my initial_token in cassandra 2.0.7 using a p= ython script I found at the datastax wiki.=C2=A0

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
=C2=A0INFO 18:14:38,511 Logging initialized
=C2=A0INFO 18:14= :38,560 Loading settings from file:/usr/local/apache-cassandra-2.0.7/conf/c= assandra.yaml
=C2=A0INFO 18:14:39,151 Data files directories: [/v= ar/lib/cassandra/data]
=C2=A0INFO 18:14:39,152 Commit log directory: /var/lib/cassandra/commi= tlog
=C2=A0INFO 18:14:39,153 DiskAccessMode 'auto' determ= ined to be mmap, indexAccessMode is mmap
=C2=A0INFO 18:14:39,153 = disk_failure_policy is stop
=C2=A0INFO 18:14:39,153 commit_failure_policy is stop
=C2=A0= INFO 18:14:39,161 Global memtable threshold is enabled at 251MB
= =C2=A0INFO 18:14:39,362 Not using multi-threaded compaction
ERROR= 18:14:39,365 Fatal configuration error
org.apache.cassandra.exceptions.ConfigurationException: For input stri= ng: "85070591730234615865843651857942052864"
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 at org.apache.cassandra.dht.Murmur3Partitioner$1.validate= (Murmur3Partitioner.java:178)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.cassandra.config.DatabaseDes= criptor.applyConfig(DatabaseDescriptor.java:440)
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 at org.apache.cassandra.config.DatabaseDescriptor.<clinit&= gt;(DatabaseDescriptor.java:111)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.cassandra.service.CassandraD= aemon.setup(CassandraDaemon.java:153)
=C2=A0 =C2=A0 =C2=A0 =C2=A0= at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.j= ava:471)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.cassandra.serv= ice.CassandraDaemon.main(CassandraDaemon.java:560)



--
GPG me!!

gpg --keyserver pool.sks-keyservers.net --re= cv-keys F186197B

--089e013a00402f33fd04f9a16cc8--