You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Boris Solovyov <bo...@gmail.com> on 2013/02/18 18:55:29 UTC

Both nodes own 100% of cluster

What does the it mean that each node owns effective 100% of cluster? Both
nodes report same output.

[ec2-user@ip-10-152-162-228 ~]$ nodetool status
Datacenter: us-east
===================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address           Load       Tokens  Owns (effective)  Host ID
                      Rack
UN  10.152.162.228    62.98 KB   256     100.0%
 7c50a482-1a0b-4dda-a58c-9232c2f18149  1a
UN  10.147.166.207    60.98 KB   256     100.0%
 4aebbf59-dbe5-4736-a7b7-6a59611e66e5  1a

Re: Both nodes own 100% of cluster

Posted by Boris Solovyov <bo...@gmail.com>.
That makes sense, thanks.


On Mon, Feb 18, 2013 at 2:26 PM, Hiller, Dean <De...@nrel.gov> wrote:

> Yes, for instance I have 6 nodes and have 50% ownership because I have
> RF=3, and 6/3 = 2 virtual entities that are written to which means each
> node owns 50%.

Re: Both nodes own 100% of cluster

Posted by "Hiller, Dean" <De...@nrel.gov>.
Yes, for instance I have 6 nodes and have 50% ownership because I have RF=3, and 6/3 = 2 virtual entities that are written to which means each node owns 50%.

Dean

From: Alain RODRIGUEZ <ar...@gmail.com>>
Reply-To: "user@cassandra.apache.org<ma...@cassandra.apache.org>" <us...@cassandra.apache.org>>
Date: Monday, February 18, 2013 12:23 PM
To: "user@cassandra.apache.org<ma...@cassandra.apache.org>" <us...@cassandra.apache.org>>
Subject: Re: Both nodes own 100% of cluster

I don't know cassandra 1.2 very well, 100% of  effective own probably probably means that you're running with RF = number of nodes.

Alain


2013/2/18 Boris Solovyov <bo...@gmail.com>>
These are running the latest Cassandra 1.2 with 256 vnodes each.


On Mon, Feb 18, 2013 at 2:07 PM, Víctor Hugo Oliveira Molinar <vh...@gmail.com>> wrote:
Why have u assigned for both nodes a genenerated token? And how you calculated it?

Shouldnt u choose one of them to has its token as the '0' start value?
At least that is what is said on the tutorials I've read.


On Mon, Feb 18, 2013 at 2:55 PM, Boris Solovyov <bo...@gmail.com>> wrote:
What does the it mean that each node owns effective 100% of cluster? Both nodes report same output.

[ec2-user@ip-10-152-162-228 ~]$ nodetool status
Datacenter: us-east
===================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address           Load       Tokens  Owns (effective)  Host ID                               Rack
UN  10.152.162.228    62.98 KB   256     100.0%            7c50a482-1a0b-4dda-a58c-9232c2f18149  1a
UN  10.147.166.207    60.98 KB   256     100.0%            4aebbf59-dbe5-4736-a7b7-6a59611e66e5  1a





Re: Both nodes own 100% of cluster

Posted by Alain RODRIGUEZ <ar...@gmail.com>.
I don't know cassandra 1.2 very well, 100% of  effective own probably
probably means that you're running with RF = number of nodes.

Alain


2013/2/18 Boris Solovyov <bo...@gmail.com>

> These are running the latest Cassandra 1.2 with 256 vnodes each.
>
>
> On Mon, Feb 18, 2013 at 2:07 PM, Víctor Hugo Oliveira Molinar <
> vhmolinar@gmail.com> wrote:
>
>> Why have u assigned for both nodes a genenerated token? And how you
>> calculated it?
>>
>> Shouldnt u choose one of them to has its token as the '0' start value?
>> At least that is what is said on the tutorials I've read.
>>
>>
>> On Mon, Feb 18, 2013 at 2:55 PM, Boris Solovyov <boris.solovyov@gmail.com
>> > wrote:
>>
>>> What does the it mean that each node owns effective 100% of cluster?
>>> Both nodes report same output.
>>>
>>> [ec2-user@ip-10-152-162-228 ~]$ nodetool status
>>> Datacenter: us-east
>>> ===================
>>> Status=Up/Down
>>> |/ State=Normal/Leaving/Joining/Moving
>>> --  Address           Load       Tokens  Owns (effective)  Host ID
>>>                         Rack
>>> UN  10.152.162.228    62.98 KB   256     100.0%
>>>  7c50a482-1a0b-4dda-a58c-9232c2f18149  1a
>>> UN  10.147.166.207    60.98 KB   256     100.0%
>>>  4aebbf59-dbe5-4736-a7b7-6a59611e66e5  1a
>>>
>>>
>>
>

Re: Both nodes own 100% of cluster

Posted by Boris Solovyov <bo...@gmail.com>.
These are running the latest Cassandra 1.2 with 256 vnodes each.


On Mon, Feb 18, 2013 at 2:07 PM, Víctor Hugo Oliveira Molinar <
vhmolinar@gmail.com> wrote:

> Why have u assigned for both nodes a genenerated token? And how you
> calculated it?
>
> Shouldnt u choose one of them to has its token as the '0' start value?
> At least that is what is said on the tutorials I've read.
>
>
> On Mon, Feb 18, 2013 at 2:55 PM, Boris Solovyov <bo...@gmail.com>wrote:
>
>> What does the it mean that each node owns effective 100% of cluster? Both
>> nodes report same output.
>>
>> [ec2-user@ip-10-152-162-228 ~]$ nodetool status
>> Datacenter: us-east
>> ===================
>> Status=Up/Down
>> |/ State=Normal/Leaving/Joining/Moving
>> --  Address           Load       Tokens  Owns (effective)  Host ID
>>                         Rack
>> UN  10.152.162.228    62.98 KB   256     100.0%
>>  7c50a482-1a0b-4dda-a58c-9232c2f18149  1a
>> UN  10.147.166.207    60.98 KB   256     100.0%
>>  4aebbf59-dbe5-4736-a7b7-6a59611e66e5  1a
>>
>>
>

Re: Both nodes own 100% of cluster

Posted by Víctor Hugo Oliveira Molinar <vh...@gmail.com>.
Why have u assigned for both nodes a genenerated token? And how you
calculated it?

Shouldnt u choose one of them to has its token as the '0' start value?
At least that is what is said on the tutorials I've read.


On Mon, Feb 18, 2013 at 2:55 PM, Boris Solovyov <bo...@gmail.com>wrote:

> What does the it mean that each node owns effective 100% of cluster? Both
> nodes report same output.
>
> [ec2-user@ip-10-152-162-228 ~]$ nodetool status
> Datacenter: us-east
> ===================
> Status=Up/Down
> |/ State=Normal/Leaving/Joining/Moving
> --  Address           Load       Tokens  Owns (effective)  Host ID
>                       Rack
> UN  10.152.162.228    62.98 KB   256     100.0%
>  7c50a482-1a0b-4dda-a58c-9232c2f18149  1a
> UN  10.147.166.207    60.98 KB   256     100.0%
>  4aebbf59-dbe5-4736-a7b7-6a59611e66e5  1a
>
>