cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Haddad <...@jonhaddad.com>
Subject Re: Cassandra ring not behaving like a ring
Date Thu, 16 Jan 2014 22:31:45 GMT
It depends on a lot of factors.  If you've got all your machines in a
single rack, probably not.  But if you want to spread your data across
multiple racks or availability zones in AWS, it makes a huge difference.


On Thu, Jan 16, 2014 at 2:05 PM, Yogi Nerella <ynerella999@gmail.com> wrote:

> Hi,
>
> I am new to Cassandra Environment, does the order of the ring matter, as
> long as the member joins the group?
>
> Yogi
>
>
> On Thu, Jan 16, 2014 at 12:49 PM, Jonathan Haddad <jon@jonhaddad.com>wrote:
>
>> Please include the output of "nodetool ring", otherwise no one can help
>> you.
>>
>>
>> On Thu, Jan 16, 2014 at 12:45 PM, Narendra Sharma <
>> narendra.sharma@gmail.com> wrote:
>>
>>> Any pointers? I am planning to do rolling restart of the cluster nodes
>>> to see if it will help.
>>> On Jan 15, 2014 2:59 PM, "Narendra Sharma" <narendra.sharma@gmail.com>
>>> wrote:
>>>
>>>> RF=3.
>>>> On Jan 15, 2014 1:18 PM, "Andrey Ilinykh" <ailinykh@gmail.com> wrote:
>>>>
>>>>> what is the RF? What does nodetool ring show?
>>>>>
>>>>>
>>>>> On Wed, Jan 15, 2014 at 1:03 PM, Narendra Sharma <
>>>>> narendra.sharma@gmail.com> wrote:
>>>>>
>>>>>> Sorry for the odd subject but something is wrong with our cassandra
>>>>>> ring. We have a 9 node ring as below.
>>>>>>
>>>>>> N1 - UP/NORMAL
>>>>>> N2 - UP/NORMAL
>>>>>> N3 - UP/NORMAL
>>>>>> N4 - UP/NORMAL
>>>>>> N5 - UP/NORMAL
>>>>>> N6 - UP/NORMAL
>>>>>> N7 - UP/NORMAL
>>>>>> N8 - UP/NORMAL
>>>>>> N9 - UP/NORMAL
>>>>>>
>>>>>> Using random partitioner and simple snitch. Cassandra 1.1.6 in AWS.
>>>>>>
>>>>>> I added a new node with token that is exactly in middle of N6 and
N7.
>>>>>> So the ring displayed as following
>>>>>> N1 - UP/NORMAL
>>>>>> N2 - UP/NORMAL
>>>>>> N3 - UP/NORMAL
>>>>>> N4 - UP/NORMAL
>>>>>> N5 - UP/NORMAL
>>>>>> N6 - UP/NORMAL
>>>>>> N6.5 - UP/JOINING
>>>>>> N7 - UP/NORMAL
>>>>>> N8 - UP/NORMAL
>>>>>> N9 - UP/NORMAL
>>>>>>
>>>>>>
>>>>>> I noticed that N6.5 is streaming from N1, N2, N6 and N7. I expect
it
>>>>>> to steam from (worst case) N5, N6, N7, N8. What could potentially
cause the
>>>>>> node to get confused about the ring?
>>>>>>
>>>>>> --
>>>>>> Narendra Sharma
>>>>>> Software Engineer
>>>>>> *http://www.aeris.com <http://www.aeris.com>*
>>>>>> *http://narendrasharma.blogspot.com/
>>>>>> <http://narendrasharma.blogspot.com/>*
>>>>>>
>>>>>>
>>>>>
>>
>>
>> --
>> Jon Haddad
>> http://www.rustyrazorblade.com
>> skype: rustyrazorblade
>>
>
>


-- 
Jon Haddad
http://www.rustyrazorblade.com
skype: rustyrazorblade

Mime
View raw message