Re: Help with batch renaming legacy sstable files

2014-06-26 Thread Jens Rantil
Todd, 'rename' is a (perl?) command line utility that comes with many Linux distributions. It's not part of Cassandra. It's highly useful for renaming many files. The utility can also be installed using Homebrew on MacOSX. Cheers, Jens — Sent from Mailbox On Thu, Jun 26, 2014 at 6:51 PM,

Re: Help with batch renaming legacy sstable files

2014-06-26 Thread Robert Coli
On Thu, Jun 26, 2014 at 9:50 AM, Todd Nine wrote: > Robert. The data has been upgraded to 1.1, but it was created in a > 0.8 version. It's been steadily upgraded, so I believe sstable data > is in 1.1 format. However, they're still retaining the old naming > convention. > There's an automatic

Re: Help with batch renaming legacy sstable files

2014-06-26 Thread Todd Nine
Jens, Where is the "rename" utility? I don't see it in the 1.2.16 distribution. Robert. The data has been upgraded to 1.1, but it was created in a 0.8 version. It's been steadily upgraded, so I believe sstable data is in 1.1 format. However, they're still retaining the old naming convention.

Re: Help with batch renaming legacy sstable files

2014-06-26 Thread Robert Coli
On Wed, Jun 25, 2014 at 9:49 PM, Todd Nine wrote: > I'm working on migrating some data from 1.0.x clusters to a 1.2.16 > cluster. Part of my testing is (locally) loading the old 1.0 sstables > into my environment in 1.2.16. Since the 1.0 days, the file format > has changes from this format. >

Re: Help with batch renaming legacy sstable files

2014-06-25 Thread Hannu Kröger
Also, did you get to upgrade first to 1.1.x and and then to 1.2.x? That might smoothen the process. Hannu > On 26.6.2014, at 9.04, "Jens Rantil" wrote: > > Hi Todd, > > Maybe the "rename" command line utility could help you? > > Cheers, > Jens > — > Sent from Mailbox > > >> On Thu, Jun 26

Re: Help with batch renaming legacy sstable files

2014-06-25 Thread Jens Rantil
Hi Todd, Maybe the "rename" command line utility could help you? Cheers, Jens — Sent from Mailbox On Thu, Jun 26, 2014 at 6:50 AM, Todd Nine wrote: > Hey guys, > I'm working on migrating some data from 1.0.x clusters to a 1.2.16 > cluster. Part of my testing is (locally) loading the old

Help with batch renaming legacy sstable files

2014-06-25 Thread Todd Nine
Hey guys, I'm working on migrating some data from 1.0.x clusters to a 1.2.16 cluster. Part of my testing is (locally) loading the old 1.0 sstables into my environment in 1.2.16. Since the 1.0 days, the file format has changes from this format. [Keyspace]-[CF name]-[table number]-Data.db To t