You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Patrick de Torcy <pd...@gmail.com> on 2011/01/19 19:05:01 UTC

bootstrapping doesn't work for me

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 !