Error rename cassandra cluster name 1.2.6

后端 未结 3 1988
伪装坚强ぢ
伪装坚强ぢ 2021-01-18 20:45

I am using cassandra 1.2.6 in cluster with a single node. I am trying to rename the cluster using the instructions in:

Cassandra clustername mismatch

After d

3条回答
  •  情歌与酒
    2021-01-18 21:23

    Executing the following command using cqlsh worked for me (on Cassandra 1.2.9):

    update system.local set cluster_name='$CLUSTER_NAME' where key='local';

    You'll need to get it working first to access the cluster by setting cluster_name in cassandra.yaml to the old name. Afterwards, you can run a nodetool flush, update cassandra.yaml, and restart Cassandra.

提交回复
热议问题