Skip to content

gmlexx/kcopy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

kcopy

python script to copy between two cassandra clusters per node

This script is copying keys range owned by current node of source cluster to destination cluster. So you can run this script on each source cluster node to archive parallel copying.

Requirements: datastax CQL python driver

Used by author to migrate from RandomPartitioner to Murmur3Partitioner. Software is provided AS IS.

Usage:

  1. Edit kcopy.py and setup:

keyspace for source and destination cluster. select and insert statements modify read_callback according to your data scheme

  1. Run: python kcopy.py

  2. Read kcopy.log for errors

About

copy data between two cassandra clusters per node

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages