You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Ali Ahsan <al...@panasiangroup.com> on 2011/05/13 08:46:33 UTC
Cassandra node is not blanced Rf=2 Random Partitioner
My cluster is unbalanced.One have 99 GB Data and other have 87 GB can
any one explain why this is happening.
[root@cassandra2 conf]# /root/cassandra/bin/nodetool -h 10.0.0.4 ring
Address Status Load
Range Ring
133487003891811234514792661331209113407
10.0.0.4 Up 99.63 GB
222289592293417191096473651402050455 |<--|
10.0.0.3 Up 87.02 GB
133487003891811234514792661331209113407 |-->|
--
S.Ali Ahsan
Senior System Engineer
e-Business (Pvt) Ltd
49-C Jail Road, Lahore, P.O. Box 676
Lahore 54000, Pakistan
Tel: +92 (0)42 3758 7140 Ext. 128
Mobile: +92 (0)345 831 8769
Fax: +92 (0)42 3758 0027
Email: ali.ahsan@panasiangroup.com
www.ebusiness-pg.com
www.panasiangroup.com
Confidentiality: This e-mail and any attachments may be confidential
and/or privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person
use it for any purpose or store or copy the information in any medium.
Internet communications cannot be guaranteed to be timely, secure, error
or virus-free. We do not accept liability for any errors or omissions.
Re: Cassandra node is not blanced Rf=2 Random Partitioner
Posted by Ali Ahsan <al...@panasiangroup.com>.
On 05/13/2011 11:46 AM, Ali Ahsan wrote:
> My cluster is unbalanced.One have 99 GB Data and other have 87 GB can
> any one explain why this is happening.
>
>
> [root@cassandra2 conf]# /root/cassandra/bin/nodetool -h 10.0.0.4 ring
> Address Status Load
> Range Ring
>
> 133487003891811234514792661331209113407
> 10.0.0.4 Up 99.63 GB
> 222289592293417191096473651402050455 |<--|
> 10.0.0.3 Up 87.02 GB
> 133487003891811234514792661331209113407 |-->|
>
We are using 0.6.3
--
S.Ali Ahsan
Re: Cassandra node is not blanced Rf=2 Random Partitioner
Posted by aaron morton <aa...@thelastpickle.com>.
You need to manually assign the tokens to the nodes
http://wiki.apache.org/cassandra/Operations#Load_balancing
One should be 0 and the other 85070591730234615865843651857942052864
Cheers
-----------------
Aaron Morton
Freelance Cassandra Developer
@aaronmorton
http://www.thelastpickle.com
On 13 May 2011, at 22:50, Eric tamme wrote:
> On Fri, May 13, 2011 at 2:46 AM, Ali Ahsan <al...@panasiangroup.com> wrote:
>> My cluster is unbalanced.One have 99 GB Data and other have 87 GB can any
>> one explain why this is happening.
>
>
> They are "pretty close" ... since a row key is pinned to a node - it
> is possible that you have a really large row(s) on your .4 node.
>
> Sorry I dont have more info, but that is my best guess.
>
> -Eric
Re: Cassandra node is not blanced Rf=2 Random Partitioner
Posted by Eric tamme <et...@gmail.com>.
On Fri, May 13, 2011 at 2:46 AM, Ali Ahsan <al...@panasiangroup.com> wrote:
> My cluster is unbalanced.One have 99 GB Data and other have 87 GB can any
> one explain why this is happening.
They are "pretty close" ... since a row key is pinned to a node - it
is possible that you have a really large row(s) on your .4 node.
Sorry I dont have more info, but that is my best guess.
-Eric