cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: failed to identify others in a 3-node ring
Date Thu, 04 Mar 2010 01:35:59 GMT
You probably assigned all nodes the same token.  Don't do that. :)

On Wed, Mar 3, 2010 at 4:41 AM, Pahud <pahudnet@gmail.com> wrote:
> Hello list,
> I just setup a 3-node ring in a virtualbox bridging environment. By running
> the 'cassandra -f' the log indicates it discovers other nodes but if I
> execute 'nodeprobe -host <host_ip> ring', it only display one node.
> guestOS ~ # /usr/local/src/apache-cassandra-0.5.1/bin/nodeprobe -host
> 192.168.172.172 ring
> Address       Status     Load          Range
>      Ring
> 192.168.172.173Up         2.54 KB
> 157512051682129108296245632473937587231    |<--|
>
> Does it behave correct? (I am afraid not)
> node list:
> ================
> 192.168.172.172
> 192.168.172.173
> 192.168.172.166
> debug output:
> ============
> guestOS ~ # /usr/local/src/apache-cassandra-0.5.1/bin/cassandra -f
> Listening for transport dt_socket at address: 8888
> INFO - Sampling index for
> /var/lib/cassandra/data/system/LocationInfo-9-Data.db
> INFO - Sampling index for
> /var/lib/cassandra/data/system/LocationInfo-10-Data.db
> INFO - Replaying /var/lib/cassandra/commitlog/CommitLog-1267610977509.log
> INFO - LocationInfo has reached its threshold; switching in a fresh Memtable
> INFO - Enqueuing flush of Memtable(LocationInfo)@4784962
> INFO - Sorting Memtable(LocationInfo)@4784962
> INFO - Writing Memtable(LocationInfo)@4784962
> INFO - Completed flushing
> /var/lib/cassandra/data/system/LocationInfo-11-Data.db
> INFO - Log replay complete
> INFO - Saved Token found: 157512051682129108296245632473937587231
> INFO - Starting up server gossip
> INFO - Cassandra starting up...
> INFO - Node /192.168.172.166 is now part of the cluster
> INFO - Node /192.168.172.173 is now part of the cluster
> INFO - InetAddress /192.168.172.166 is now UP
> INFO - InetAddress /192.168.172.173 is now UP
>
> Please help.
> Pahud
>
>
>
>
>
>

Mime
View raw message