You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Ajay <aj...@gmail.com> on 2015/03/12 06:21:51 UTC

Steps to do after schema changes

Hi,

Are there any steps to do (like nodetool or restart node) or any
precautions after schema changes are done in a column family say adding a
new column or modifying any table properties?

Thanks
Ajay

Re: Steps to do after schema changes

Posted by Ajay <aj...@gmail.com>.
Thanks Mark.

-
Ajay
On 12-Mar-2015 11:08 pm, "Mark Reddy" <ma...@gmail.com> wrote:

> It's always good to run "nodetool describecluster" after a schema change,
> this will show you all the nodes in your cluster and what schema version
> they have. If they have different versions you have a schema disagreement
> and should follow this guide to resolution:
> http://www.datastax.com/documentation/cassandra/2.0/cassandra/dml/dml_handle_schema_disagree_t.html
>
> Regards,
> Mark
>
> On 12 March 2015 at 05:47, Phil Yang <ud...@gmail.com> wrote:
>
>> Usually, you have nothing to do. Changes will be synced to every nodes
>> automatically.
>>
>> 2015-03-12 13:21 GMT+08:00 Ajay <aj...@gmail.com>:
>>
>>> Hi,
>>>
>>> Are there any steps to do (like nodetool or restart node) or any
>>> precautions after schema changes are done in a column family say adding a
>>> new column or modifying any table properties?
>>>
>>> Thanks
>>> Ajay
>>>
>>
>>
>>
>> --
>> Thanks,
>> Phil Yang
>>
>>
>

Re: Steps to do after schema changes

Posted by Mark Reddy <ma...@gmail.com>.
It's always good to run "nodetool describecluster" after a schema change,
this will show you all the nodes in your cluster and what schema version
they have. If they have different versions you have a schema disagreement
and should follow this guide to resolution:
http://www.datastax.com/documentation/cassandra/2.0/cassandra/dml/dml_handle_schema_disagree_t.html

Regards,
Mark

On 12 March 2015 at 05:47, Phil Yang <ud...@gmail.com> wrote:

> Usually, you have nothing to do. Changes will be synced to every nodes
> automatically.
>
> 2015-03-12 13:21 GMT+08:00 Ajay <aj...@gmail.com>:
>
>> Hi,
>>
>> Are there any steps to do (like nodetool or restart node) or any
>> precautions after schema changes are done in a column family say adding a
>> new column or modifying any table properties?
>>
>> Thanks
>> Ajay
>>
>
>
>
> --
> Thanks,
> Phil Yang
>
>

Re: Steps to do after schema changes

Posted by Phil Yang <ud...@gmail.com>.
Usually, you have nothing to do. Changes will be synced to every nodes
automatically.

2015-03-12 13:21 GMT+08:00 Ajay <aj...@gmail.com>:

> Hi,
>
> Are there any steps to do (like nodetool or restart node) or any
> precautions after schema changes are done in a column family say adding a
> new column or modifying any table properties?
>
> Thanks
> Ajay
>



-- 
Thanks,
Phil Yang