You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Noriaki Tatsumi <nt...@gmail.com> on 2015/08/31 03:42:01 UTC

Cassandra Migration Tool

Hello,

I built a simple and lightweight migration tool for Apache Cassandra
database that's based on Axel Fontaine's Flyway project. Cassandra
Migration works just like Flyway. Plain CQL and Java based migrations are
supported. The Java migration interface provides DataStax's Java Driver
session.

I'm aware of the existence of mutagen-cassandra but I wanted a lighter tool
that uses DataStax's Java driver without Netflix's Astyanax wrapper client
. I also observed that it has not been updated in 2 years. I'm writing to
let the Cassandra user community know about the new tool in hopes of
becoming useful to others and getting feedback on improvements and bugs.

Please check it out!
https://github.com/Contrast-Security-OSS/cassandra-migration

Thanks,
Noriaki

Re: Cassandra Migration Tool

Posted by Noriaki Tatsumi <nt...@gmail.com>.
That's a great idea! Currently, it only tracks the name of the scripts that
were executed. For Java based migrations, I will have to ponder on a
suitable way to automatically capture the executed statements.

Thanks,
Noriaki

On Mon, Aug 31, 2015 at 2:18 AM, DuyHai Doan <do...@gmail.com> wrote:

> Excellent initiative. Thanks for sharing.
>
> Small question: do you store the executed cql scripts inside C* itself as
> history so that sysadmin can track all the changes over time ?
>
> On Mon, Aug 31, 2015 at 3:42 AM, Noriaki Tatsumi <nt...@gmail.com>
> wrote:
>
>> Hello,
>>
>> I built a simple and lightweight migration tool for Apache Cassandra
>> database that's based on Axel Fontaine's Flyway project. Cassandra
>> Migration works just like Flyway. Plain CQL and Java based migrations are
>> supported. The Java migration interface provides DataStax's Java Driver
>> session.
>>
>> I'm aware of the existence of mutagen-cassandra but I wanted a lighter
>> tool that uses DataStax's Java driver without Netflix's Astyanax wrapper
>> client . I also observed that it has not been updated in 2 years. I'm
>> writing to let the Cassandra user community know about the new tool in
>> hopes of becoming useful to others and getting feedback on improvements and
>> bugs.
>>
>> Please check it out!
>> https://github.com/Contrast-Security-OSS/cassandra-migration
>>
>> Thanks,
>> Noriaki
>>
>
>

Re: Cassandra Migration Tool

Posted by DuyHai Doan <do...@gmail.com>.
Excellent initiative. Thanks for sharing.

Small question: do you store the executed cql scripts inside C* itself as
history so that sysadmin can track all the changes over time ?

On Mon, Aug 31, 2015 at 3:42 AM, Noriaki Tatsumi <nt...@gmail.com> wrote:

> Hello,
>
> I built a simple and lightweight migration tool for Apache Cassandra
> database that's based on Axel Fontaine's Flyway project. Cassandra
> Migration works just like Flyway. Plain CQL and Java based migrations are
> supported. The Java migration interface provides DataStax's Java Driver
> session.
>
> I'm aware of the existence of mutagen-cassandra but I wanted a lighter
> tool that uses DataStax's Java driver without Netflix's Astyanax wrapper
> client . I also observed that it has not been updated in 2 years. I'm
> writing to let the Cassandra user community know about the new tool in
> hopes of becoming useful to others and getting feedback on improvements and
> bugs.
>
> Please check it out!
> https://github.com/Contrast-Security-OSS/cassandra-migration
>
> Thanks,
> Noriaki
>