cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darvin Denmian <darvin.denm...@gmail.com>
Subject Re: Rebalancing cluster
Date Mon, 01 Oct 2012 14:03:23 GMT
When I execute the command "nodetool ring" the following output appears:

Address         DC          Rack        Status State   Load
Effective-Ownership Token


159774252176126302045611947652425555499
10.36.214.118   datacenter1 rack1       Up     Normal  16.62 GB
54.36%              82119805777845627277766502152998847873
10.36.214.66    datacenter1 rack1       Up     Normal  6.44 GB
7.95%                 95648023217342394827789894311936282285
10.36.214.122   datacenter1 rack1       Up     Normal  10.85 GB
37.69%              159774252176126302045611947652425555499

as you can see there is no "Zero Token". Maybe I did something wrong.
Will I need to "reset" my entire cluster?

Regards.

On Mon, Oct 1, 2012 at 10:18 AM, Hiller, Dean <Dean.Hiller@nrel.gov> wrote:
>
> 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