incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vasileios Vlachos <vasileiosvlac...@gmail.com>
Subject Re: Multi-DC Environment Question
Date Wed, 04 Jun 2014 12:42:12 GMT
Hello Matt,

nodetool status:

Datacenter: MAN
===============
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
-- Address Load Owns (effective) Host ID Token Rack
UN 10.2.1.103 89.34 KB 99.2% b7f8bc93-bf39-475c-a251-8fbe2c7f7239
-9211685935328163899 RAC1
UN 10.2.1.102 86.32 KB 0.7% 1f8937e1-9ecb-4e59-896e-6d6ac42dc16d
-3511707179720619260 RAC1
Datacenter: DER
===============
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
-- Address Load Owns (effective) Host ID Token Rack
UN 10.2.1.101 75.43 KB 0.2% e71c7ee7-d852-4819-81c0-e993ca87dd5c
-1277931707251349874 RAC1
UN 10.2.1.100 104.53 KB 99.8% 7333b664-ce2d-40cf-986f-d4b4d4023726
-9204412570946850701 RAC1

I do not know why the cluster is not balanced at the moment, but it holds
almost no data. I will populate it soon and see how that goes. The output
of 'nodetool ring' just lists all the tokens assigned to each individual
node, and as you can imagine it would be pointless to paste it here. I just
did 'nodetool ring | awk ... | unique | wc -l' and it works out to be 1024
as expected (4 nodes x 256 tokens each).

Still have not got the answers to the other questions though...

Thanks,

Vasilis


On Wed, Jun 4, 2014 at 12:28 AM, Matthew Allen <matthew.j.allen@gmail.com>
wrote:

> Thanks Vasileios.  I think I need to make a call as to whether to switch
> to vnodes or stick with tokens for my Multi-DC cluster.
>
> Would you be able to show a nodetool ring/status from your cluster to see
> what the token assignment looks like ?
>
> Thanks
>
> Matt
>
>
> On Wed, Jun 4, 2014 at 8:31 AM, Vasileios Vlachos <
> vasileiosvlachos@gmail.com> wrote:
>
>>  I should have said that earlier really... I am using 1.2.16 and Vnodes
>> are enabled.
>>
>> Thanks,
>>
>> Vasilis
>>
>> --
>> Kind Regards,
>>
>> Vasileios Vlachos
>>
>>
>

Mime
View raw message