cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiller, Dean" <Dean.Hil...@nrel.gov>
Subject Re: Rebalancing cluster
Date Mon, 01 Oct 2012 13:18:58 GMT
You should check the cassandra.yaml file.  There is an initial_token in that file that you
should have set.  The comment above that property reads

# You should always specify InitialToken when setting up a production
# cluster for the first time, and often when adding capacity later.
# The principle is that each node should be given an equal slice of
# the token ring; see http://wiki.apache.org/cassandra/Operations
# for more details.
#
# If blank, Cassandra will request a token bisecting the range of
# the heaviest-loaded existing node.  If there is no load information
# available, such as is the case with a new cluster, it will pick
# a random token, which will lead to hot spots.

Naturally, he is referring to that link when he says manual ;) AND notice the "which will
lead to hot spots" comment.

Later,
Dean

From: Darvin Denmian <darvin.denmian@gmail.com<mailto:darvin.denmian@gmail.com>>
Reply-To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" <user@cassandra.apache.org<mailto:user@cassandra.apache.org>>
Date: Monday, October 1, 2012 6:56 AM
To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" <user@cassandra.apache.org<mailto:user@cassandra.apache.org>>
Subject: Re: Rebalancing cluster

Did you set up the tokens the way
the manual says?

Mime
View raw message