Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 620 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 620 Bytes

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