Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 39072 invoked from network); 19 Jan 2011 18:05:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Jan 2011 18:05:37 -0000 Received: (qmail 2434 invoked by uid 500); 19 Jan 2011 18:05:34 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 2235 invoked by uid 500); 19 Jan 2011 18:05:31 -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 2224 invoked by uid 99); 19 Jan 2011 18:05:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 18:05:30 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pdetorcy@gmail.com designates 209.85.216.44 as permitted sender) Received: from [209.85.216.44] (HELO mail-qw0-f44.google.com) (209.85.216.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 18:05:22 +0000 Received: by qwi2 with SMTP id 2so1254418qwi.31 for ; Wed, 19 Jan 2011 10:05:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=Q59jsFZ/hElL1KfwalIYTbYkncnYRp+uExYyBKOnADA=; b=Rufuy8M3PW8jp5YSl/P+GHL1PCU6IvkdMgsfpUqRpf4Jsj2mDWYai+GWeOlOCTQpdk XoSvMMSY+Ib73P9vQRqB8obk18gyZQCxnEBM1rsSfwR8HMbkSVnS2tiPu5Q+EOqK4I82 yX57i8qV/pD+7bX1QuilSRXsvFpZaq4I4t1ww= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=XrL4uwIXd1LB1MW6tf/Gjmajh+3rR//wJVQ6LfLpSzRzOgHOtLM1jhRgNjzajYUNmn JnZV9hTA07h6z3JYR6ydNuxLr57CDgzHanHNTALabwVRgF7H483DaedEmeWNk4GPmH5f bARz3ySoDaTpP+G8yMmNkl7TwTJQbx/irOnMc= MIME-Version: 1.0 Received: by 10.229.247.10 with SMTP id ma10mr864450qcb.4.1295460301471; Wed, 19 Jan 2011 10:05:01 -0800 (PST) Received: by 10.229.184.10 with HTTP; Wed, 19 Jan 2011 10:05:01 -0800 (PST) Date: Wed, 19 Jan 2011 19:05:01 +0100 Message-ID: Subject: bootstrapping doesn't work for me From: Patrick de Torcy To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=0016e64cbd361702cb049a36db94 X-Virus-Checked: Checked by ClamAV on apache.org --0016e64cbd361702cb049a36db94 Content-Type: text/plain; charset=ISO-8859-1 I use cassandra 0.7, and I have a cluster of two nodes. I have a first node 192.168.1.109 with in its yaml : initial_token: auto_bootstrap: false hinted_handoff_enabled: true partitioner: org.apache.cassandra.dht.RandomPartitioner seeds: - 192.168.1.109 listen_address: 192.168.1.109 rpc_address: 192.168.1.109 I put data in this node (about 16 GB). Everything is fine... I added a second node 192.168.1.201 with in its yaml : initial_token: auto_bootstrap: true hinted_handoff_enabled: true partitioner: org.apache.cassandra.dht.RandomPartitioner seeds: - 192.168.1.109 listen_address: 192.168.1.201 rpc_address: 192.168.1.201 When I started Cassandra on the second node, I didn't have the message "bootstrapping..." and nothing happened : I just had a 1KB .log file in the commitlog folder but nothing in my data folder when I run nodetool on 192.168.1.109, I got : D:\apache-cassandra-0.7.0>set java_home=C:\Program Files\Java\jre6\ Starting NodeTool Address Status State Load Owns Token 125687736390750535705541125641769698798 192.168.1.109 Up Normal 15,39 GB 89,67% 108113198212385121975153893962264091026 192.168.1.201 Up Normal 55,94 KB 10,33% 125687736390750535705541125641769698798 The second node isn't supposed to have at least 10% of the data ? Thanks ! --0016e64cbd361702cb049a36db94 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I use cassandra 0.7, and I have a cluster of two nodes.

I have a fir= st node 192.168.1.109 with in its yaml :

initial_token:
auto_boot= strap: false
hinted_handoff_enabled: true
partitioner: org.apache.cas= sandra.dht.RandomPartitioner
seeds:
=A0=A0=A0 - 192.168.1.109
listen_address: 192.168.1.109
rpc= _address: 192.168.1.109

I put data in this node (about 16 GB). Every= thing is fine...

I added a second node 192.168.1.201 with in its ya= ml :

initial_token:
auto_bootstrap: true
hinted_handoff_enabled: true
partitioner: org.apache.cassandra.dht.RandomPartitioner
seeds:
=A0=A0=A0 - 192.168.1.109
listen_address: 192.168.1.201
rpc_address: 192.168.1.201

When I started Cassandra on the second no= de, I didn't have the message "bootstrapping..."
and nothi= ng happened : I just had a 1KB .log file in the commitlog folder but nothin= g in my data folder

when I run nodetool on 192.168.1.109, I got :

D:\apache-cassandr= a-0.7.0>set java_home=3DC:\Program Files\Java\jre6\
Starting NodeToo= l
Address=A0=A0=A0=A0=A0=A0=A0=A0 Status State=A0=A0 Load=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 Owns=A0=A0=A0 Token=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 125687736390750535705541125641769698798=A0=A0=A0=A0
192.16= 8.1.109=A0=A0 Up=A0=A0=A0=A0 Normal=A0 15,39 GB=A0=A0=A0=A0=A0=A0=A0 89,67%= =A0 108113198212385121975153893962264091026=A0=A0=A0=A0
192.168.1.201= =A0=A0 Up=A0=A0=A0=A0 Normal=A0 55,94 KB=A0=A0=A0=A0=A0=A0=A0 10,33%=A0 125= 687736390750535705541125641769698798

The second node isn't supposed to have at least 10% of the data ?
Thanks !
--0016e64cbd361702cb049a36db94--