cassandrapartitioner

Can I have different partitioners in a multiple datacenter configuration in cassandra?


Can I have RandomPartitioner in the cluster in datacenter1 and Murmur3Partitioner in the cluster in datacenter2?


Solution

  • No, you need to have the same partitioner on all nodes in the cluster.

    If you are asking this because you want a way of migrating from RandomPartitioner to Murmur3Partitioner then it won't work unfortunately. I don't know of a method of moving to Murmur3Partitioner on a live cluster, but the benefit is small so it is unlikely to be worth doing.