RE: [EXTERNAL] Re: Upgrade using rebuild

2017-12-27 Thread Durity, Sean R
The sstable formats/versions are different. Streaming uses those formats. 
Streaming doesn’t work across major versions (for sure), and I don’t even try 
it across minor versions.

To ensure Cassandra-happiness, follow the rule:
For streaming operations (adding nodes, rebuild, repairs, etc.) have everything 
on the same version.

Version upgrades can be automated relatively easily and complete in a 
reasonable period of time. Plan them accordingly and don’t do streaming until 
they are completed.


Sean Durity

From: Anshu Vajpayee [mailto:anshu.vajpa...@gmail.com]
Sent: Tuesday, December 19, 2017 5:17 AM
To: user@cassandra.apache.org
Cc: Hannu Kröger <hkro...@gmail.com>
Subject: [EXTERNAL] Re: Upgrade using rebuild

​Any specific reason why It doesn't work across  major version ? a

On Fri, Dec 15, 2017 at 12:05 AM, Jon Haddad 
<j...@jonhaddad.com<mailto:j...@jonhaddad.com>> wrote:
Heh, hit send accidentally.

You generally can’t run rebuild to upgrade, because it’s a streaming operation. 
 Streaming isn’t supported between versions, although on 3.x it might work.



On Dec 14, 2017, at 11:01 AM, Jon Haddad 
<j...@jonhaddad.com<mailto:j...@jonhaddad.com>> wrote:

no


On Dec 14, 2017, at 10:59 AM, Anshu Vajpayee 
<anshu.vajpa...@gmail.com<mailto:anshu.vajpa...@gmail.com>> wrote:

Thanks! I am aware with these steps.

I m just thinking , is it possible to do the upgrade using nodetool rebuild 
like  we rebuld new dc ?

Has anyone tried -  upgrade with nodetool rebuild ?



On Thu, 14 Dec 2017 at 7:08 PM, Hannu Kröger 
<hkro...@gmail.com<mailto:hkro...@gmail.com>> wrote:
If you want to do a version upgrade, you need to basically do follow node by 
node:

0) stop repairs
1) make sure your sstables are at the latest version (nodetool upgradesstables 
can do it)
2) stop cassandra
3) update cassandra software and update cassandra.yaml and cassandra-env.sh 
files
4) start cassandra

After all nodes are up, run “nodetool upgradesstables” on each node to update 
your sstables to the latest version.

Also please note that when you upgrade, you need to upgrade only between 
compatible versions.

E.g. 2.2.x -> 3.0.x  but not 1.2 to 3.11

Cheers,
Hannu

On 14 December 2017 at 12:33:49, Anshu Vajpayee 
(anshu.vajpa...@gmail.com<mailto:anshu.vajpa...@gmail.com>) wrote:
Hi -

Is it possible to upgrade a  cluster ( DC wise) using nodetool rebuild ?



--
C*heers,
Anshu V


--
C*heers,
Anshu V







--
C*heers,
Anshu V





The information in this Internet Email is confidential and may be legally 
privileged. It is intended solely for the addressee. Access to this Email by 
anyone else is unauthorized. If you are not the intended recipient, any 
disclosure, copying, distribution or any action taken or omitted to be taken in 
reliance on it, is prohibited and may be unlawful. When addressed to our 
clients any opinions or advice contained in this Email are subject to the terms 
and conditions expressed in any applicable governing The Home Depot terms of 
business or client engagement letter. The Home Depot disclaims all 
responsibility and liability for the accuracy and content of this attachment 
and for any damages or losses arising from any inaccuracies, errors, viruses, 
e.g., worms, trojan horses, etc., or other items of a destructive nature, which 
may be contained in this attachment and shall not be liable for direct, 
indirect, consequential or special damages in connection with this e-mail 
message or its attachment.


Re: Upgrade using rebuild

2017-12-19 Thread Anshu Vajpayee
​Any specific reason why It doesn't work across  major version ? a

On Fri, Dec 15, 2017 at 12:05 AM, Jon Haddad  wrote:

> Heh, hit send accidentally.
>
> You generally can’t run rebuild to upgrade, because it’s a streaming
> operation.  Streaming isn’t supported between versions, although on 3.x it
> might work.
>
>
> On Dec 14, 2017, at 11:01 AM, Jon Haddad  wrote:
>
> no
>
> On Dec 14, 2017, at 10:59 AM, Anshu Vajpayee 
> wrote:
>
> Thanks! I am aware with these steps.
>
> I m just thinking , is it possible to do the upgrade using nodetool
> rebuild like  we rebuld new dc ?
>
> Has anyone tried -  upgrade with nodetool rebuild ?
>
>
>
> On Thu, 14 Dec 2017 at 7:08 PM, Hannu Kröger  wrote:
>
>> If you want to do a version upgrade, you need to basically do follow node
>> by node:
>>
>> 0) stop repairs
>> 1) make sure your sstables are at the latest version (nodetool
>> upgradesstables can do it)
>> 2) stop cassandra
>> 3) update cassandra software and update cassandra.yaml and
>> cassandra-env.sh files
>> 4) start cassandra
>>
>> After all nodes are up, run “nodetool upgradesstables” on each node to
>> update your sstables to the latest version.
>>
>> Also please note that when you upgrade, you need to upgrade only between
>> compatible versions.
>>
>> E.g. 2.2.x -> 3.0.x  but not 1.2 to 3.11
>>
>> Cheers,
>> Hannu
>>
>> On 14 December 2017 at 12:33:49, Anshu Vajpayee (anshu.vajpa...@gmail.com)
>> wrote:
>>
>> Hi -
>>
>> Is it possible to upgrade a  cluster ( DC wise) using nodetool rebuild ?
>>
>>
>>
>> --
>> *C*heers,*
>> *Anshu V*
>>
>>
>> --
> *C*heers,*
> *Anshu V*
>
>
>
>
>


-- 
*C*heers,*
*Anshu V*


Re: Upgrade using rebuild

2017-12-15 Thread Anshu Vajpayee
Thanks Jon.

On Fri, Dec 15, 2017 at 12:05 AM, Jon Haddad  wrote:

> Heh, hit send accidentally.
>
> You generally can’t run rebuild to upgrade, because it’s a streaming
> operation.  Streaming isn’t supported between versions, although on 3.x it
> might work.
>
>
> On Dec 14, 2017, at 11:01 AM, Jon Haddad  wrote:
>
> no
>
> On Dec 14, 2017, at 10:59 AM, Anshu Vajpayee 
> wrote:
>
> Thanks! I am aware with these steps.
>
> I m just thinking , is it possible to do the upgrade using nodetool
> rebuild like  we rebuld new dc ?
>
> Has anyone tried -  upgrade with nodetool rebuild ?
>
>
>
> On Thu, 14 Dec 2017 at 7:08 PM, Hannu Kröger  wrote:
>
>> If you want to do a version upgrade, you need to basically do follow node
>> by node:
>>
>> 0) stop repairs
>> 1) make sure your sstables are at the latest version (nodetool
>> upgradesstables can do it)
>> 2) stop cassandra
>> 3) update cassandra software and update cassandra.yaml and
>> cassandra-env.sh files
>> 4) start cassandra
>>
>> After all nodes are up, run “nodetool upgradesstables” on each node to
>> update your sstables to the latest version.
>>
>> Also please note that when you upgrade, you need to upgrade only between
>> compatible versions.
>>
>> E.g. 2.2.x -> 3.0.x  but not 1.2 to 3.11
>>
>> Cheers,
>> Hannu
>>
>> On 14 December 2017 at 12:33:49, Anshu Vajpayee (anshu.vajpa...@gmail.com)
>> wrote:
>>
>> Hi -
>>
>> Is it possible to upgrade a  cluster ( DC wise) using nodetool rebuild ?
>>
>>
>>
>> --
>> *C*heers,*
>> *Anshu V*
>>
>>
>> --
> *C*heers,*
> *Anshu V*
>
>
>
>
>


-- 
*C*heers,*
*Anshu V*


Re: Upgrade using rebuild

2017-12-14 Thread Jon Haddad
Heh, hit send accidentally.

You generally can’t run rebuild to upgrade, because it’s a streaming operation. 
 Streaming isn’t supported between versions, although on 3.x it might work.

> On Dec 14, 2017, at 11:01 AM, Jon Haddad  wrote:
> 
> no
> 
>> On Dec 14, 2017, at 10:59 AM, Anshu Vajpayee > > wrote:
>> 
>> Thanks! I am aware with these steps.
>> 
>> I m just thinking , is it possible to do the upgrade using nodetool rebuild 
>> like  we rebuld new dc ?
>> 
>> Has anyone tried -  upgrade with nodetool rebuild ?
>> 
>> 
>> 
>> On Thu, 14 Dec 2017 at 7:08 PM, Hannu Kröger > > wrote:
>> If you want to do a version upgrade, you need to basically do follow node by 
>> node:
>> 
>> 0) stop repairs
>> 1) make sure your sstables are at the latest version (nodetool 
>> upgradesstables can do it)
>> 2) stop cassandra
>> 3) update cassandra software and update cassandra.yaml and cassandra-env.sh 
>> files
>> 4) start cassandra
>> 
>> After all nodes are up, run “nodetool upgradesstables” on each node to 
>> update your sstables to the latest version.
>> 
>> Also please note that when you upgrade, you need to upgrade only between 
>> compatible versions.
>> 
>> E.g. 2.2.x -> 3.0.x  but not 1.2 to 3.11
>> 
>> Cheers,
>> Hannu
>> On 14 December 2017 at 12:33:49, Anshu Vajpayee (anshu.vajpa...@gmail.com 
>> ) wrote:
>> 
>>> Hi - 
>>> 
>>> Is it possible to upgrade a  cluster ( DC wise) using nodetool rebuild ? 
>>> 
>>> 
>>> 
>>> --
>>> C*heers,
>>> Anshu V
>>> 
>>> 
>> 
>> -- 
>> C*heers,
>> Anshu V
>> 
>> 
> 



Re: Upgrade using rebuild

2017-12-14 Thread Jon Haddad
no

> On Dec 14, 2017, at 10:59 AM, Anshu Vajpayee  wrote:
> 
> Thanks! I am aware with these steps.
> 
> I m just thinking , is it possible to do the upgrade using nodetool rebuild 
> like  we rebuld new dc ?
> 
> Has anyone tried -  upgrade with nodetool rebuild ?
> 
> 
> 
> On Thu, 14 Dec 2017 at 7:08 PM, Hannu Kröger  > wrote:
> If you want to do a version upgrade, you need to basically do follow node by 
> node:
> 
> 0) stop repairs
> 1) make sure your sstables are at the latest version (nodetool 
> upgradesstables can do it)
> 2) stop cassandra
> 3) update cassandra software and update cassandra.yaml and cassandra-env.sh 
> files
> 4) start cassandra
> 
> After all nodes are up, run “nodetool upgradesstables” on each node to update 
> your sstables to the latest version.
> 
> Also please note that when you upgrade, you need to upgrade only between 
> compatible versions.
> 
> E.g. 2.2.x -> 3.0.x  but not 1.2 to 3.11
> 
> Cheers,
> Hannu
> On 14 December 2017 at 12:33:49, Anshu Vajpayee (anshu.vajpa...@gmail.com 
> ) wrote:
> 
>> Hi - 
>> 
>> Is it possible to upgrade a  cluster ( DC wise) using nodetool rebuild ? 
>> 
>> 
>> 
>> --
>> C*heers,
>> Anshu V
>> 
>> 
> 
> -- 
> C*heers,
> Anshu V
> 
> 



Re: Upgrade using rebuild

2017-12-14 Thread Anshu Vajpayee
Thanks! I am aware with these steps.

I m just thinking , is it possible to do the upgrade using nodetool rebuild
like  we rebuld new dc ?

Has anyone tried -  upgrade with nodetool rebuild ?



On Thu, 14 Dec 2017 at 7:08 PM, Hannu Kröger  wrote:

> If you want to do a version upgrade, you need to basically do follow node
> by node:
>
> 0) stop repairs
> 1) make sure your sstables are at the latest version (nodetool
> upgradesstables can do it)
> 2) stop cassandra
> 3) update cassandra software and update cassandra.yaml and
> cassandra-env.sh files
> 4) start cassandra
>
> After all nodes are up, run “nodetool upgradesstables” on each node to
> update your sstables to the latest version.
>
> Also please note that when you upgrade, you need to upgrade only between
> compatible versions.
>
> E.g. 2.2.x -> 3.0.x  but not 1.2 to 3.11
>
> Cheers,
> Hannu
>
> On 14 December 2017 at 12:33:49, Anshu Vajpayee (anshu.vajpa...@gmail.com)
> wrote:
>
> Hi -
>
> Is it possible to upgrade a  cluster ( DC wise) using nodetool rebuild ?
>
>
>
> --
> *C*heers,*
> *Anshu V*
>
>
> --
*C*heers,*
*Anshu V*


Re: Upgrade using rebuild

2017-12-14 Thread Hannu Kröger
If you want to do a version upgrade, you need to basically do follow node
by node:

0) stop repairs
1) make sure your sstables are at the latest version (nodetool
upgradesstables can do it)
2) stop cassandra
3) update cassandra software and update cassandra.yaml and cassandra-env.sh
files
4) start cassandra

After all nodes are up, run “nodetool upgradesstables” on each node to
update your sstables to the latest version.

Also please note that when you upgrade, you need to upgrade only between
compatible versions.

E.g. 2.2.x -> 3.0.x  but not 1.2 to 3.11

Cheers,
Hannu

On 14 December 2017 at 12:33:49, Anshu Vajpayee (anshu.vajpa...@gmail.com)
wrote:

Hi -

Is it possible to upgrade a  cluster ( DC wise) using nodetool rebuild ?



--
*C*heers,*
*Anshu V*


Upgrade using rebuild

2017-12-14 Thread Anshu Vajpayee
Hi -

Is it possible to upgrade a  cluster ( DC wise) using nodetool rebuild ?



-- 
*C*heers,*
*Anshu V*