You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by ICHIBA Sara <ic...@gmail.com> on 2015/08/05 14:21:30 UTC

cassandra cluster loadbalancing

hello there,

Can you tell me please how can I loadbalance my canssandra cluster. When I
do nodetool status I can see that the load is not loadbalanced among my
cassandra nodes

Datacenter: datacenter1
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address     Load       Tokens  Owns    Host
ID                               Rack
UN  20.0.0.241  925.53 KB  261     ?
80303bcd-613c-413b-8e3e-c1e1fdb4ef47  rack1
UN  20.0.0.242  885.02 KB  262     ?
915fa052-205e-4a91-bb31-464483072c9d  rack1
UN  20.0.0.243  946.05 KB  263     ?
f5f87c82-4cce-40ea-91da-c01e815aa316  rack1
UN  20.0.0.244  933.82 KB  264     ?
ae9fa389-7275-427d-ab0b-34bff6428c5f  rack1
UN  20.0.0.245  907.2 KB   265     ?
30d64dfe-feaf-449d-bb6f-bc1dfff14c36  rack1
UN  20.0.0.246  597.77 KB  266     ?
0983dc92-eb94-469e-9cd1-856afe32d1a1  rack1
UN  20.0.0.251  524.99 KB  271     ?
92058160-1076-40d5-b209-4250e31f39fa  rack1
UN  20.0.0.238  560.87 KB  258     ?
847673e2-6428-49a5-bc71-42006db13c37  rack1

thank you for your response,
sara

Re: cassandra cluster loadbalancing

Posted by Alain RODRIGUEZ <ar...@gmail.com>.
Hi Sara,

I am not sure why you say that this is unbalanced, such small amounts of
data are not relevant. It depends of too much factors (keys inserted,
compaction that ran or are to run...)

You should use "nodetool status *myks*" to see if your tokens are well
distributed - column "Owns (effective)" - and review your model to see if
your data is going to be evenly spread between the nodes.

C*heers,

Alain

2015-08-05 14:21 GMT+02:00 ICHIBA Sara <ic...@gmail.com>:

> hello there,
>
> Can you tell me please how can I loadbalance my canssandra cluster. When I
> do nodetool status I can see that the load is not loadbalanced among my
> cassandra nodes
>
> Datacenter: datacenter1
> =======================
> Status=Up/Down
> |/ State=Normal/Leaving/Joining/Moving
> --  Address     Load       Tokens  Owns    Host
> ID                               Rack
> UN  20.0.0.241  925.53 KB  261     ?
> 80303bcd-613c-413b-8e3e-c1e1fdb4ef47  rack1
> UN  20.0.0.242  885.02 KB  262     ?
> 915fa052-205e-4a91-bb31-464483072c9d  rack1
> UN  20.0.0.243  946.05 KB  263     ?
> f5f87c82-4cce-40ea-91da-c01e815aa316  rack1
> UN  20.0.0.244  933.82 KB  264     ?
> ae9fa389-7275-427d-ab0b-34bff6428c5f  rack1
> UN  20.0.0.245  907.2 KB   265     ?
> 30d64dfe-feaf-449d-bb6f-bc1dfff14c36  rack1
> UN  20.0.0.246  597.77 KB  266     ?
> 0983dc92-eb94-469e-9cd1-856afe32d1a1  rack1
> UN  20.0.0.251  524.99 KB  271     ?
> 92058160-1076-40d5-b209-4250e31f39fa  rack1
> UN  20.0.0.238  560.87 KB  258     ?
> 847673e2-6428-49a5-bc71-42006db13c37  rack1
>
> thank you for your response,
> sara
>