Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Can I have RandomPartitioner in the cluster in datacenter1 and Murmur3Partitioner in the cluster in datacenter2?
不,您需要在集群中的所有节点上使用相同的分区器。
如果您问这个是因为您想要一种从 RandomPartitioner 迁移到 Murmur3Partitioner 的方法,那么不幸的是它不会起作用。我不知道在实时集群上迁移到 Murmur3Partitioner 的方法,但好处很小,因此不太值得这样做。