Re: Moving Away from Compact Storage

2016-02-02 Thread Jack Krupansky
>>> Can you give the CREATE TABLE script for you old compact storage table ? >>> Or at least the cassandra-client creation script >>> >>> On Tue, Feb 2, 2016 at 3:48 PM, Anuj Wadehra >>> wrote: >>> >>>> Thanks DuyHai !! We were

Re: Moving Away from Compact Storage

2016-02-02 Thread Anuj Wadehra
n staticly defined columns while other data in dynamic columns. Is the approach mentioned in link adaptable to the scenario where we want to migrate the existing data to a Non-Compact CF with static columns and collections ? Thanks Anuj ------------ On Tue, 2/2/1

Re: Moving Away from Compact Storage

2016-02-02 Thread DuyHai Doan
ith each row having some data in staticly >>> defined columns while other data in dynamic columns. Is the approach >>> mentioned in link adaptable to the scenario where we want to migrate the >>> existing data to a Non-Compact CF with static columns and collections ? >

Re: Moving Away from Compact Storage

2016-02-02 Thread Anuj Wadehra
Non-Compact CF with static columns and collections ? Thanks Anuj ---- On Tue, 2/2/16, DuyHai Doan wrote:  Subject: Re: Moving Away from Compact Storage  To: user@cassandra.apache.org  Date: Tuesday, 2 February, 2016, 12:57 AM  Use Apache  Spark to parall

Re: Moving Away from Compact Storage

2016-02-02 Thread DuyHai Doan
ate the >> existing data to a Non-Compact CF with static columns and collections ? >> >> Thanks >> Anuj >> >> >> On Tue, 2/2/16, DuyHai Doan wrote: >> >> Subject: Re: Moving Away from Compact Storage &g

Re: Moving Away from Compact Storage

2016-02-02 Thread Anuj Wadehra
s the approach mentioned in link adaptable to the scenario where we want to migrate the existing data to a Non-Compact CF with static columns and collections ? Thanks Anuj On Tue, 2/2/16, DuyHai Doan wrote:  Subject: Re: Moving Away from Compact Storag

Re: Moving Away from Compact Storage

2016-02-02 Thread DuyHai Doan
static columns and collections ? > > Thanks > Anuj > > > On Tue, 2/2/16, DuyHai Doan wrote: > > Subject: Re: Moving Away from Compact Storage > To: user@cassandra.apache.org > Date: Tuesday, 2 February, 2016, 12:57 AM > >

Re: Moving Away from Compact Storage

2016-02-02 Thread Anuj Wadehra
ble to the scenario where we want to migrate the existing data to a Non-Compact CF with static columns and collections ? Thanks Anuj On Tue, 2/2/16, DuyHai Doan wrote: Subject: Re: Moving Away from Compact Storage To: user@cassandra.apache.org Date:

Re: Moving Away from Compact Storage

2016-02-01 Thread DuyHai Doan
Use Apache Spark to parallelize the data migration. Look at this piece of code https://github.com/doanduyhai/Cassandra-Spark-Demo/blob/master/src/main/scala/usecases/MigrateAlbumsData.scala#L58-L60 If your source and target tables have the SAME structure (except for the COMPACT STORAGE clause), mi

Moving Away from Compact Storage

2016-02-01 Thread Anuj Wadehra
Hi Whats the fastest and reliable way to migrate data from a Compact Storage table to Non-Compact storage table? I was not able to find any command for dropping the compact storage directive..so I think migrating data is the only way...any suggestions? ThanksAnuj