You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Arend-Jan Wijtzes <aj...@wise-guys.nl> on 2012/09/18 13:18:02 UTC

downgrade from 1.1.4 to 1.0.X

Hi,

We are running Cassandra 1.1.4 and like to experiment with
Datastax Enterprise which uses 1.0.8. Can we safely downgrade
a production cluster or is it incompatible? Any special steps
involved?

Arend-Jan

-- 
Arend-Jan Wijtzes -- Wiseguys -- www.wise-guys.nl

Re: downgrade from 1.1.4 to 1.0.X

Posted by Daniel Doubleday <da...@gmx.net>.
Since I was just fiddling around with sst2json: if you have row level 
deletes you might get problems since row level deletion info is not 
exported in at least 1.0.

But if you're not using those you might be fine.

Віталій Тимчишин wrote:
>
> I suppose the way is to convert all SST to json, then install previous
> version, convert back and load
>
> 2012/9/24 Arend-Jan Wijtzes <ajwytzes@wise-guys.nl
> <ma...@wise-guys.nl>>
>
> On Thu, Sep 20, 2012 at 10:13:49AM +1200, aaron morton wrote:
> > No.
> > They use different minor file versions which are not backwards
> compatible.
>
> Thanks Aaron.
>
> Is upgradesstables capable of downgrading the files to 1.0.8?
> Looking for a way to make this work.
>
> Regards,
> Arend-Jan
>
>
> > On 18/09/2012, at 11:18 PM, Arend-Jan Wijtzes
> <ajwytzes@wise-guys.nl <ma...@wise-guys.nl>> wrote:
> >
> > > Hi,
> > >
> > > We are running Cassandra 1.1.4 and like to experiment with
> > > Datastax Enterprise which uses 1.0.8. Can we safely downgrade
> > > a production cluster or is it incompatible? Any special steps
> > > involved?
>
> --
> Arend-Jan Wijtzes -- Wiseguys -- www.wise-guys.nl
> <http://www.wise-guys.nl>
>
>
>
>
> -- 
> Best regards,
> Vitalii Tymchyshyn

Re: downgrade from 1.1.4 to 1.0.X

Posted by Rob Coli <rc...@palominodb.com>.
On Thu, Sep 27, 2012 at 2:46 AM, Віталій Тимчишин <ti...@gmail.com> wrote:
> I suppose the way is to convert all SST to json, then install previous
> version, convert back and load

Only files flushed in the new version will need to be dumped/reloaded.

Files which have not been scrubbed/upgraded (ie, have the 1.0 -h[x]-
version) get renamed to different names in 1.1. You can revert all of
these files back to 1.0 as long as you change their names back to 1.0
style names, which is presumably what your snapshots contain...

=Rob

-- 
=Robert Coli
AIM&GTALK - rcoli@palominodb.com
YAHOO - rcoli.palominob
SKYPE - rcoli_palominodb

Re: downgrade from 1.1.4 to 1.0.X

Posted by Віталій Тимчишин <ti...@gmail.com>.
I suppose the way is to convert all SST to json, then install previous
version, convert back and load

2012/9/24 Arend-Jan Wijtzes <aj...@wise-guys.nl>

> On Thu, Sep 20, 2012 at 10:13:49AM +1200, aaron morton wrote:
> > No.
> > They use different minor file versions which are not backwards
> compatible.
>
> Thanks Aaron.
>
> Is upgradesstables capable of downgrading the files to 1.0.8?
> Looking for a way to make this work.
>
> Regards,
> Arend-Jan
>
>
> > On 18/09/2012, at 11:18 PM, Arend-Jan Wijtzes <aj...@wise-guys.nl>
> wrote:
> >
> > > Hi,
> > >
> > > We are running Cassandra 1.1.4 and like to experiment with
> > > Datastax Enterprise which uses 1.0.8. Can we safely downgrade
> > > a production cluster or is it incompatible? Any special steps
> > > involved?
>
> --
> Arend-Jan Wijtzes -- Wiseguys -- www.wise-guys.nl
>



-- 
Best regards,
 Vitalii Tymchyshyn

Re: downgrade from 1.1.4 to 1.0.X

Posted by Radim Kolar <hs...@filez.com>.
We have paid tool capable of downgrading cassandra 1.2, 1.1, 1.0, 0.8.

Re: downgrade from 1.1.4 to 1.0.X

Posted by aaron morton <aa...@thelastpickle.com>.
No. 
Versions are capable of reading previous file formats, but can only create files in the current format. 


File formats are listed here https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/io/sstable/Descriptor.java#L52

> Looking for a way to make this work.
I'd suggest contacting DS either through their support forums or directly via email. 

Cheers


-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 25/09/2012, at 12:53 AM, Arend-Jan Wijtzes <aj...@wise-guys.nl> wrote:

> On Thu, Sep 20, 2012 at 10:13:49AM +1200, aaron morton wrote:
>> No. 
>> They use different minor file versions which are not backwards compatible. 
> 
> Thanks Aaron.
> 
> Is upgradesstables capable of downgrading the files to 1.0.8?
> Looking for a way to make this work.
> 
> Regards,
> Arend-Jan
> 
> 
>> On 18/09/2012, at 11:18 PM, Arend-Jan Wijtzes <aj...@wise-guys.nl> wrote:
>> 
>>> Hi,
>>> 
>>> We are running Cassandra 1.1.4 and like to experiment with
>>> Datastax Enterprise which uses 1.0.8. Can we safely downgrade
>>> a production cluster or is it incompatible? Any special steps
>>> involved?
> 
> -- 
> Arend-Jan Wijtzes -- Wiseguys -- www.wise-guys.nl


Re: downgrade from 1.1.4 to 1.0.X

Posted by Arend-Jan Wijtzes <aj...@wise-guys.nl>.
On Thu, Sep 20, 2012 at 10:13:49AM +1200, aaron morton wrote:
> No. 
> They use different minor file versions which are not backwards compatible. 

Thanks Aaron.

Is upgradesstables capable of downgrading the files to 1.0.8?
Looking for a way to make this work.

Regards,
Arend-Jan


> On 18/09/2012, at 11:18 PM, Arend-Jan Wijtzes <aj...@wise-guys.nl> wrote:
> 
> > Hi,
> > 
> > We are running Cassandra 1.1.4 and like to experiment with
> > Datastax Enterprise which uses 1.0.8. Can we safely downgrade
> > a production cluster or is it incompatible? Any special steps
> > involved?

-- 
Arend-Jan Wijtzes -- Wiseguys -- www.wise-guys.nl

Re: downgrade from 1.1.4 to 1.0.X

Posted by aaron morton <aa...@thelastpickle.com>.
No. 
They use different minor file versions which are not backwards compatible. 

Cheers

-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 18/09/2012, at 11:18 PM, Arend-Jan Wijtzes <aj...@wise-guys.nl> wrote:

> Hi,
> 
> We are running Cassandra 1.1.4 and like to experiment with
> Datastax Enterprise which uses 1.0.8. Can we safely downgrade
> a production cluster or is it incompatible? Any special steps
> involved?
> 
> Arend-Jan
> 
> -- 
> Arend-Jan Wijtzes -- Wiseguys -- www.wise-guys.nl