Automating Kiji Schema Changes

We had a need to automate the deployment of our Kiji schema changes as part of our automated deployment process. With the new DDL based Kiji schema definitions it was fairly easy to put together a quick and dirty Rails style migration framework to store the latest schema version and run any DDL statements that haven't been run. It is currently only supports forward only migrations (no rollback) and is built as a maven plugin.

You can explicitly invoke the plugin by running one of the following goals:


mvn kiji-schema-migrations:generate -DmigrationName=A_Lot_Of_Changes

mvn kiji-schema-migrations:migrate

mvn kiji-schema-migrations:reset

Project is here https://github.com/duckworth/kiji-schema-migrations

Tags: , , ,


You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply

You must be logged in to post a comment.